Skip to content

7.0.0-alpha2 breaking formatter backwards compatibility #3771

Closed
@kanadaj

Description

@kanadaj
ElasticLowLevelClient.Serializer.SerializeToString()

introduced a new IMemoryStreamFactory parameter in the middle of the parameter chain - this means that libraries compiled against ElasticSearch.Net 6.X don't work with references to 7.0; this includes libraries installed from NuGet. The AssemblyRedirects generated will try to call SerializeToString() with parameters (data, format) instead of (data, null, format) throwing an error.

It'd be nice getting a SerializeToString() implementation without the IMemoryStreamFactory parameter for backwards compatibility so that existing libraries don't break.

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