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

Enhance entity creation with base field expansion and dynamic id key #271

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    2580ff8 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    b31df4b View commit details
    Browse the repository at this point in the history
  2. Consistently pass an array of field values to field handlers for expa…

    …nsion
    
    Per FieldHandlerInterface::expand(), field handlers expect an array of
    field values.  The source entity object passed into expandEntityFields()
    often has an inconsistent structure across its various field properties,
    sometimes holding a single value, sometimes holding an array of values (as
    expected), and sometimes holding an array of composite field parts for a
    single field value.  Consistently providing field handlers the field values
    in the structure they expect allows them to expand each field value
    correctly.
    
    jhedstromgh-270
    chrisolof committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    7a642b8 View commit details
    Browse the repository at this point in the history