Skip to content

Consider switching to plain C# types for the data model #20

@nblumhardt

Description

@nblumhardt

Since this lib isn't itself a logging library, and so probably doesn't need to buy into a whole immutable data model, it seems like both perf and usability would be improved by adopting object[], Dictionary<string, object> and plain objects, instead of the ArrayValue, StructureValue and ScalarValue wrappers.

I.e., if I have a deserialized JSON object including a template, it's more likely I've deserialized it into plain collection types than the MessageTemplates data model, and more familiar/simpler to convert into them if I haven't.

Any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions