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

Meta targets - class, property, method, ... #53

Open
1 of 4 tasks
mabar opened this issue Jan 27, 2023 · 1 comment
Open
1 of 4 tasks

Meta targets - class, property, method, ... #53

mabar opened this issue Jan 27, 2023 · 1 comment

Comments

@mabar
Copy link
Member

mabar commented Jan 27, 2023

Validate if each of them is defined above valid target

  • Rules - only above property
  • Callbacks - above class or property (all of them)
  • Modifiers - above class or property (each individually)
  • Docs - above class or property (each individually)

While annotations and attributes validate their targets, we should have an independent way, because:

  • each annotation/attribute has to set target individually
  • possible other meta sources do not have such option
@mabar
Copy link
Member Author

mabar commented Jun 4, 2023

Annotations/attributes have DefinitionTester for tests

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

No branches or pull requests

1 participant