Skip to content

Integrated fields' configuration not versioned #18

@alechenninger

Description

@alechenninger

There are two concerns, which I'm not sure are entirely well founded. This is just based on my current understanding of how this works.

  1. Desire to explicitly talk about version when you talk about fields (ie not /implicitly/ tied to a specific version... rather not have guesswork to do or hunt down what version is to be used when writing an integrated fields projection). I think any time you reference fields of an entity, you should specify version (just like you do when you're writing regular queries).
  2. Possible incompatibility / runtime errors if projection is incompatible with different schema versions. The hook can fire on different versions of the same entity, correct? And the hook uses this integrated fields' configuration to determine whether to publish an event, correct? If so, then the projection can be incompatible with different versions of the same entity. Unless I am wrong and this hook is only fired when the version matches some configured value, but since you can end up with different versions of the entity event in the event collection, it seems to indicate the hook's projection will be processed against different versions of an entity, in which case you must specify version in your projection or you risk Bad Things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions