Skip to content

Support schema fragments #313

Description

@marisadiaz10

Category

User level API changes

Describe the feature you'd like to request

Hi team! Rust supports schema fragments, which allow to define multiple schemas and concatenate them using Schema::from_schema_fragments().

Could this be added to cedar-java please? Our company would like to have multiple schemas to support division of teams/domains since we have a broad set of thousands of actions.
Then we would like to pass them as a single schema to the engine. Another option is to allow the engine to accept multiple schemas.

This is highly helpful for enterprise applications, because management of a single schema becomes difficult.

Describe alternatives you've considered

Create our custom concatenation logic, but this could be error-prone and Rust already supports it!

Additional context

No response

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions