Skip to content

De-duplicate code for checking if entity types exist in schema #711

@john-h-kastner-aws

Description

@john-h-kastner-aws

Describe the improvement you'd like to request

The human-readable schema format included some duplicate checks that check for the existence of an entity type when it is used in a schema. This checks is already done when construct a ValidatorSchema object, so it shouldn't be necessary to also perform the check when parsing the schema.

Describe alternatives you've considered

No response

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this internal improvement
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal-improvementRefactoring, minor performance improvement, or other changes that Cedar users may never notice

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions