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

Entitlement mapping composition #2643

Closed
SupunS opened this issue Jul 6, 2023 · 2 comments
Closed

Entitlement mapping composition #2643

SupunS opened this issue Jul 6, 2023 · 2 comments
Assignees
Labels

Comments

@SupunS
Copy link
Member

SupunS commented Jul 6, 2023

Issue to be solved

As discussed in the FLIP onflow/flips#94, add support for including/re-using entitlement mappings in other mappings by means of 'composition'.

e.g:

entitlement mapping M1 {
    Removable -> Mutable
}

entitlement mapping M2 {
    Insertable -> Mutable
}

entitlement mapping M3 {
    include M1
    include M2
}

Suggested Solution

No response

@dsainati1
Copy link
Contributor

Note for the implementation of this feature; it should interact appropriately with the changes in #2637 as described in this comment #2637 (comment)

@dsainati1
Copy link
Contributor

Once this issue is complete, update the Account type file to use includes instead of repeating entitlement mappings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants