You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logical flow for building manifest metadata using AllinsonFlex currently does not allow for a context-aware reading of the dynamic schema, which leads to the default labels always being used when context-specific ones may be available and applicable:
.allinson_flex_fields, which directly queries AllinsonFlex::ProfileProperty entries and always uses the default labels
There's a missed opportunity here to use a dynamic schema lookup to get context-aware label values, either by allowing to pass in fields: at the start of the stack, or having .allinson_flex_fields optionally receive a work identifier to allow looking up the dynamic schema applicable to the work instead of directly querying AllinsonFlex::ProfileProperty records.
Story
The logical flow for building manifest metadata using AllinsonFlex currently does not allow for a context-aware reading of the dynamic schema, which leads to the default labels always being used when context-specific ones may be available and applicable:
fields:
argument, and calls:fields:
and defaults (in the context of AllinsonFlex) to callingfields:
and defaults to using:AllinsonFlex::ProfileProperty
entries and always uses the default labelsThere's a missed opportunity here to use a dynamic schema lookup to get context-aware label values, either by allowing to pass in
fields:
at the start of the stack, or having.allinson_flex_fields
optionally receive a work identifier to allow looking up the dynamic schema applicable to the work instead of directly queryingAllinsonFlex::ProfileProperty
records.See this PR for a workaround applied to an impacted project:
IU-Libraries-Joint-Development/essi#636
Acceptance Criteria
The text was updated successfully, but these errors were encountered: