Skip to content

Possible wrong code in Customized Validation Logic Section #19

@arkoc

Description

@arkoc

Possible wrong code in Customized Validation Logic Section in sample code of CustomizedAuthorizer class.

DataModificationEntry dataModificationEntry = entry as DataModificationEntry;
var entity = dataModificationEntry.Entity;

Should be:

DataModificationItem dataModificationItem = item as DataModificationItem;
var entity = dataModificationItem.Resource;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions