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
Describe the bug
Trying to modify an array with a modifier doesn't work as the current value that is passed into the array is an object, and not an array.
siloNode.initializedModifiers({arrayNode: {addToArray(current){current.push('test');//Doesn't Work Because Current is An Object.}}}
To Reproduce
Steps to reproduce the behavior:
Create an Array in the Silo.
Create A Modifier to Modify the Array
Running that Function and Observe the Object that came in.
Expected behavior
The current value passed into the modifier of the array function should be an array, rather than an object. As this is confusing to the developer who would be expecting an array to come in.
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to modify an array with a modifier doesn't work as the current value that is passed into the array is an object, and not an array.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The current value passed into the modifier of the array function should be an array, rather than an object. As this is confusing to the developer who would be expecting an array to come in.
The text was updated successfully, but these errors were encountered: