Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support Array<> syntax in type decl #1152

Merged
merged 2 commits into from
Nov 28, 2022
Merged

Conversation

hperl
Copy link
Collaborator

@hperl hperl commented Nov 24, 2022

You can now use Array<T> as an alternative to T[] when declaring
types for relations in the Ory Permission Language.

Fixes #1134

Related issue(s)

Checklist

  • I have read the contributing guidelines.
  • I have referenced an issue containing the design document if my change
    introduces a new feature.
  • I am following the
    contributing code guidelines.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security vulnerability, I
    confirm that I got the approval (please contact
    [email protected]) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

Further Comments

You can now use `Array<T>` as an alternative to `T[]` when declaring
types for relations in the Ory Permission Language.
@hperl hperl requested a review from zepatrik as a code owner November 24, 2022 16:35
@hperl hperl enabled auto-merge (squash) November 28, 2022 15:20
@hperl hperl merged commit c4c456b into master Nov 28, 2022
@hperl hperl deleted the hperl/opl-support-array-syntax branch November 28, 2022 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ory Permission Language: support Array syntax
2 participants