Issue / Locatability / Nested Locatables #439
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduce a way to accept a locatable object in a nested records.
Tasks
Add data class, property model and the code templaterevertedInit data classesrevertedIdandLabelpropertiesfor their parent entities
NonEntity > Child > Parent: non entity and child is full, parent is refChild > Parent: child is full, parent is refNonEntity > Entity: both are fullChild > NonEntity > Parent: all are fullIdpropertiesIQueryContextidis used as an example, it should use whatever prop name is the domainobject's id prop. if it is
Uidit should be/{uid},entityUid=and{ "uid": ... }in route, query and body respectivelyentityIdandrichTransientIdconfigurations all together, anduse type replacement for input requests
entityId=(it probably already is)epic/locatabilityfilters...
awaitwithin controllers and set the actual values to the dto if possibletaking any action
_newRichTransient()but postponeawait richTransient.With(id)_session.Load<Entity>()and load usingNHibernateUtil.Initialize(entity);