Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Metadata not provided when reading event data #24

@robvdlv

Description

@robvdlv

Hi,

We were expecting to see metadata in RecordedEvent when reading events, which we wrote with certain metadata.

I think it would make sense to add it to the recorded event.

What do you guys think?

Cheers

  public struct RecordedEvent
  {
    public T GetObject<T>() where T : class;
    public object GetObject(Type t);
    public string EventStreamId { get; set; }
    public long EventNumber { get; set; }
    public string EventType { get; set; }
    public JToken Data { get; set; }
    public JToken Metadata { get; set; }
  }

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