-
Notifications
You must be signed in to change notification settings - Fork 11
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
Declarative modeling: add find by name functionality #232
Comments
What do you think about this proposal? - parent: !find
type: SystemFunction
name: brew coffee
create: ... Except for - parent: !find
type: Requirement
chapter_name: Chapter 3
foreign_id: 7
create: ... |
very cool! just to stretch it a bit, would it work if we then also search by human-friendly IDs (property value), like owned_property["DB-ID"]: LFNC-0123 ? |
This could become a bit difficult. I was planning on simply using the good ol' attrgetter, which would give us things like |
Implemented with #387. |
While using declarative modeling I realized referencing objects by uuid is not very human-friendly. In our non-declarative applications (i.e. doc templates) we frequently refer to things by name. I think same thing here would be very helpful:
or something like that.
Maybe we could use some extra keywords for scope reduction (so that it knows that we are searching for an LA component or SA function.
The text was updated successfully, but these errors were encountered: