We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array conversion is inconsistent with field.0 and field[0]. Example:
field.0
field[0]
const object = {} const objectTwo = {} dot.str('object.fields.0.subfield', 'value', object) dot.str('object.fields.1.subfield', 'value1', object) dot.str('object.fields[0].subfield', 'value', objectTwo) dot.str('object.fields[1].subfield', 'value1', objectTwo) console.log(object) console.log(objectTwo)
Output:
As you can see, the first object is correct, the second one is not.
The text was updated successfully, but these errors were encountered:
739c111
rhalff
No branches or pull requests
Array conversion is inconsistent with
field.0
andfield[0]
. Example:Output:
As you can see, the first object is correct, the second one is not.
The text was updated successfully, but these errors were encountered: