Ticket #9 (new task)

Opened 3 years ago

Last modified 18 months ago

Read record with all fields in certain scope and/or namespace

Reported by: bruno Owned by: evert
Priority: minor Milestone:
Component: Repository Version:
Keywords: Cc: lily-developers@…

Description

Currently when reading a record, one can already specify what fields should be loaded.

It would be useful to extend this with the following capabilities:

  • read all fields in a certain scope
  • read all fields in a certain namespace

For example, if I would like to know all the version tags, I could read the record with all the fields in the version tag namespace (org.lilycms.vtag). Additionally I could specify that I only need those fields from the non-versioned scope, since version tag fields in other scopes do not make sense and are ignored anyway.

TODO: work out an API proposal for this.

Change History

comment:1 Changed 3 years ago by bruno

Once the possibility to read only the fields of specified scopes is added, we can make use of it in VersionTag?.get(Id)Record to only read non-versioned fields when the specified vtag is @@versionless. See TODO note over there. Once done, the explicit check for the versionless tag in FieldFollow?.eval() could be removed.

comment:2 Changed 3 years ago by bruno

  • Cc lily-developers@… added

comment:3 Changed 3 years ago by evert

  • Milestone set to ~1.0

comment:4 Changed 3 years ago by evert

  • Milestone ~1.0 deleted

comment:5 Changed 2 years ago by evert

  • Milestone set to 1.0

comment:6 Changed 2 years ago by evert

  • Milestone changed from 1.0 to 1.1

comment:7 Changed 18 months ago by bruno

  • Milestone 1.1 deleted
Note: See TracTickets for help on using tickets.