Skip to content

Fix validation of nested arrays to allow indirect nesting #228

New issue

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

Merged
merged 3 commits into from
Oct 17, 2017

Conversation

wilhuff
Copy link
Contributor

@wilhuff wilhuff commented Oct 17, 2017

With this change indirectly nested arrays are allowed. We still disallow
directly nested arrays.

Fixes internal bug b/66253451.

Port of firebase/firebase-ios-sdk#377

With this change indirectly nested arrays are allowed. We still disallow
directly nested arrays.

Fixes internal bug b/66253451.

Port of firebase/firebase-ios-sdk#377
@ghost
Copy link

ghost commented Oct 17, 2017

This bug is holding us back. When will the fix hit the road?

@wilhuff
Copy link
Contributor Author

wilhuff commented Oct 17, 2017

Post merge it should be soon, but we can't comment on specific timelines, sorry.

const context = new ParseContext(
this.dataSource,
this.methodName,
childPath,
false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you comment the boolean literal?

/*arrayElement=*/ false

return new ParseContext(
this.dataSource,
this.methodName,
null,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment literals?

/*path=*/ null,
/*arrayElement=*/ true

@mikelehen
Copy link
Contributor

Josh, can you approve the .gitignore change?

Copy link
Contributor

@jshcrowthe jshcrowthe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.gitignore Change looks good!

Copy link
Contributor

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jshcrowthe jshcrowthe merged commit 383f772 into master Oct 17, 2017
@jshcrowthe jshcrowthe deleted the wilhuff/array-nesting branch October 17, 2017 22:25
@wilhuff
Copy link
Contributor Author

wilhuff commented Oct 20, 2017

Fixes issue #193

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants