You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are we supposed to only allow one Attribute of a given type per graph stage? I'm not sure what the spec here is on that. I had always assumed you could replace / override the defaults by calling additional WithAttributes invocations.
There can be multiple of a single type in the Attributes class, its just a simple list of attributes, but only the last one on the list counts as the final attribute. The idea is to keep appending attributes to the list and grab the .LastOrDefault from it.
Version Information
Version of Akka.NET?
1.4.28
Which Akka.NET Modules?
Akka.Streams
Describe the bug
When set, GraphStage.InitialAttributes is appended to the tail of Module.Attributes instead of the head
To Reproduce
Steps to reproduce the behavior:
#5387
Expected behavior
You should be able to override GraphStage.InitialAttributes using the fluent API .WithAttributes and .AddAttributes
Actual behavior
GraphStage.InitialAttributes is appended to the end of the list instead
Environment
Windows 10, all .NET platform
The text was updated successfully, but these errors were encountered: