Giter Site home page Giter Site logo

Comments (11)

ujos avatar ujos commented on August 15, 2024 1

It is not about naming. Rather about behavior. ByteArrayMessageStorage treats offset as an offset of the _originalBuffer (internal data member), while ArenaMessageStorage treats offset as an offset of the value input parameter.

Because of that I believe we cannot treat ByteArrayMessageStorage and ArenaMessageStorage classes as an instances of the same interface. I.e. you cannot replace ByteArrayMessageStorage with ArenaMessageStorage and expect correct application behaviour

from fix-antenna-net-core.

OlehVasylievEPAM avatar OlehVasylievEPAM commented on August 15, 2024

Fix Antenna .NET Core was ported from JAVA, I think this is the reason for incorrect naming. Anyway, thank you for your feedback, we will create a ticket and fix this issue in near future.

from fix-antenna-net-core.

OlehVasylievEPAM avatar OlehVasylievEPAM commented on August 15, 2024

Got it

from fix-antenna-net-core.

ujos avatar ujos commented on August 15, 2024

JFYI, I worked on implementation of the FixMessage.AddTag(int, ReadOnlySpan<byte>) method. Because of this issue I cannot proceed.

from fix-antenna-net-core.

OlehVasylievEPAM avatar OlehVasylievEPAM commented on August 15, 2024

Hello ujos, your issue is included in release 1.1.1. Please, let me know if you need a hotfix ASAP.

from fix-antenna-net-core.

ujos avatar ujos commented on August 15, 2024

Hello ujos, your issue is included in release 1.1.1. Please, let me know if you need a hotfix ASAP.

@OlehVasylievEPAM , where can I find the code for v1.1.1 ?

from fix-antenna-net-core.

OlehVasylievEPAM avatar OlehVasylievEPAM commented on August 15, 2024

Hello @ujos , it will be here (in the GitHub repo). For now, release 1.1.1 is only planned. Soon we release 1.1.0 with a scheduler JFYI.

from fix-antenna-net-core.

ujos avatar ujos commented on August 15, 2024

@OlehVasylievEPAM In case if you have the hotfix ready, please share it with me.

from fix-antenna-net-core.

OlehVasylievEPAM avatar OlehVasylievEPAM commented on August 15, 2024

@ujos, we do not have :(

from fix-antenna-net-core.

Viktar-Tserashchuk avatar Viktar-Tserashchuk commented on August 15, 2024

@ujos, it turned out that the confusing implementation of the Add method in ByteArrayMessageStorage is not used, as _origBuffer is not used to add new tags.
New tags go to ArenaMessageStorage or PerFieldMessageStorage.
Therefore, we are going to replace the Add implementation in ByteArrayMessageStorage with throwing NotSupportedException.
Pull request.

And since the current implementation of the Add method is not used, it should not block you.

from fix-antenna-net-core.

OlehVasylievEPAM avatar OlehVasylievEPAM commented on August 15, 2024

Hi ujos, the new release (1.2.0) is available. The release contains the fix. Thanks for your impact!

from fix-antenna-net-core.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.