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 all your remix dependencies & dev-dependencies using the same version?
Yes
Steps to Reproduce
When using the SerializeFrom function to convert a nested data object to a serialized version, any nested data props within the object will replace all entries of the parent. This results in the parent object having the type of the nested data object, rather than preserving the original type of the parent. This can lead to unexpected behavior and loss of information.
An example of this issue can be seen in the following code:
typeNestedDataObject={value: string// can also be deeper nesteddata: {test: string}}typeSerializedData=SerializeFrom<NestedDataObject>// SerializedData has the entries of dataconstTestImpl: SerializedData={test: 'test',}
Expected Behavior
In the example above, the SerializedData type should have both value and data entries.
Actual Behavior
It only has the entries of data.
The text was updated successfully, but these errors were encountered:
What version of Remix are you using?
1.11.1
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
When using the SerializeFrom function to convert a nested data object to a serialized version, any nested data props within the object will replace all entries of the parent. This results in the parent object having the type of the nested data object, rather than preserving the original type of the parent. This can lead to unexpected behavior and loss of information.
An example of this issue can be seen in the following code:
Expected Behavior
In the example above, the SerializedData type should have both value and data entries.
Actual Behavior
It only has the entries of data.
The text was updated successfully, but these errors were encountered: