Skip to content

Support parsing multiple policies #38

@khieta

Description

@khieta

Category

User level API changes

Describe the feature you'd like to request

It would be useful to provide an API that takes as input a string (or file) consisting of multiple policies and returns a Set<policy>. We currently only provide a constructor for a single Policy, which encourages hacky tricks like splitting an input policy file on semicolons (which will break when comments, strings, or eids contain this character).

Describe the solution you'd like

Ideally the API should just reuse what's available in Rust rather than building a new parser.

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 feature request
  • ⚠️ This feature might incur a breaking change

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