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

[Core] Ajouter des annotations de propriétés dans les décorateurs #308

Open
gideruette opened this issue Sep 27, 2023 · 0 comments
Open
Labels
domain: generation Related to the generated code domain: modeling Related to the core modeling features type: feature New feature or request
Milestone

Comments

@gideruette
Copy link
Collaborator

L'idée est de pouvoir référencer des propriétés par leur nom, et d'y ajouter des annotations
ex :

    propertyAnnotations:
        - text: CreationDate
          target: dateCreation

Text supporte le templating de la propriété ciblée
Target supporte le templating de la classe ou du endpoint

Les deux supportent les paramètres, ce qui permettrait de faire
Target doit résoudre sur un nom de propriété dans une classe, et sur un paramName dans un endpoint

    propertyAnnotations:
        - text: P("{$1}")
          target: "{$1}"
@JabX JabX added this to TopModel Sep 27, 2023
@JabX JabX added this to the Backlog milestone Sep 27, 2023
@JabX JabX moved this to Todo in TopModel Sep 27, 2023
@JabX JabX added type: feature New feature or request domain: generation Related to the generated code domain: modeling Related to the core modeling features labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: generation Related to the generated code domain: modeling Related to the core modeling features type: feature New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants