-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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.
- 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).
- 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
Labels
No labels