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

Attributes restriction #282

Closed
4 tasks done
ArnaudBuchholz opened this issue Aug 24, 2018 · 1 comment
Closed
4 tasks done

Attributes restriction #282

ArnaudBuchholz opened this issue Aug 24, 2018 · 1 comment
Assignees

Comments

@ArnaudBuchholz
Copy link
Owner

ArnaudBuchholz commented Aug 24, 2018

Part of EPIC #222

As a developer, I want to ensure that attributes are used as intended to avoid coding errors and simplify adoption

Acceptance criteria:

  • An attribute qualifies an attribute class to be used on instances of a specific base only (by extension this could be used to restrict on instance of gpf.attributes.Attribute). This attribute can't be used on a member, only on a class. It should fail otherwise.
  • An attribute qualifies an attribute class to be used on class members only
  • An attribute qualifies an attribute class to be used on class only
  • An attribute qualifies an attribute class to be used only once at the given level
@ArnaudBuchholz ArnaudBuchholz added this to the Release 0.2.8: TBD milestone Aug 24, 2018
@ArnaudBuchholz ArnaudBuchholz self-assigned this Aug 24, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 24, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 27, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 27, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 28, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 29, 2018
ArnaudBuchholz added a commit that referenced this issue Aug 29, 2018
@ArnaudBuchholz ArnaudBuchholz reopened this Sep 6, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 6, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 6, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 6, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 7, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 7, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 7, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 7, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 7, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 8, 2018
@ArnaudBuchholz
Copy link
Owner Author

Also made ClassAttribute, MemberAttribute & UniqueAttribute singletons

ArnaudBuchholz added a commit that referenced this issue Sep 10, 2018
ArnaudBuchholz added a commit that referenced this issue Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant