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

Expose metadata and/or event index to codec #102

Closed
bartelink opened this issue Mar 1, 2019 · 1 comment
Closed

Expose metadata and/or event index to codec #102

bartelink opened this issue Mar 1, 2019 · 1 comment
Milestone

Comments

@bartelink
Copy link
Collaborator

bartelink commented Mar 1, 2019

At present, the OOTB codecs only present the data as UTF-8 to encode/tryDecode functions; need to extend to enable:

  • generically wrapping events as an Envelope<T>
  • combining UnionEncoder with grabbing context from the Event Data
  • some degree of uniformity between consumption afforded by Equinox.Cosmos and Equinox.EventStore

Needs to consider #79 to some degree

🤔 Likely will involve introducing an IEvent into the codec module

cc @ameier38

@bartelink
Copy link
Collaborator Author

@eiriktsarpalis @ameier38 Merging this now as-is

Plumbing has been completed to make actually exposing Metadata and/or an Envelope surfacing curated metadata such an API based on (ideally >1) real world need:-

@bartelink bartelink added this to the 2.0 milestone Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant