defineChain overwrites fields #816
Unanswered
aaronmgdr
asked this question in
Idea / Feature Request
Replies: 4 comments
-
|
What do you mean? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was unexpected for me. I would have thought this and the above line would be the same |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
if i'm off here in my expectations. let me know. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yeah, type inference starts to get a bit weird when you try to start composing it like that. :\ Let's move this to a discussion, and we can improve on it in the future. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
Package Version
1.1.7
Current Behavior
if i call the method with a chain to add serializer, than any formatters on the chain are set to undefined
Expected Behavior
if the config does just have a field i would expect the output to have whatever was originally on the chain.
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions