Skip to content
New issue

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

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

Already on GitHub? # 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

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

No branches or pull requests

1 participant