Skip to content
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

Remove isChild from fastJsonNode #5184

Merged
merged 1 commit into from
Apr 14, 2020
Merged

Remove isChild from fastJsonNode #5184

merged 1 commit into from
Apr 14, 2020

Conversation

ashish-goswami
Copy link
Contributor

@ashish-goswami ashish-goswami commented Apr 13, 2020

While forming JSON response from Subgraph, we build one intermediate data structure called
fastJsonNode tree. Each fastJsonNode has some fields which help correct encoding to JSON.
isChild and list are also part of these fields.
Currently isChild and list are used interchangeably and serve same purpose. This PR remove
isChild for simplicity and better readability of the code.


This change is Reviewable

Copy link
Contributor

@pawanrawal pawanrawal left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @animesh2049 and @martinmr)

Copy link
Contributor

@animesh2049 animesh2049 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @martinmr)

Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @martinmr)

@ashish-goswami ashish-goswami merged commit 7ea3e4e into master Apr 14, 2020
@ashish-goswami ashish-goswami deleted the ashish/refactor branch April 14, 2020 06:49
ashish-goswami added a commit that referenced this pull request Apr 22, 2020
While forming JSON response from Subgraph, we build one intermediate data structure called
fastJsonNode tree. Each fastJsonNode has some fields which help correct encoding to JSON.
isChild and list are also part of these fields.
Currently isChild and list are used interchangeably and serve same purpose. This PR remove
isChild for simplicity and better readability of the code.

(cherry picked from commit 7ea3e4e)
danielmai pushed a commit that referenced this pull request Apr 24, 2020
While forming JSON response from Subgraph, we build one intermediate data structure called
fastJsonNode tree. Each fastJsonNode has some fields which help correct encoding to JSON.
isChild and list are also part of these fields.
Currently isChild and list are used interchangeably and serve same purpose. This PR remove
isChild for simplicity and better readability of the code.
danielmai pushed a commit that referenced this pull request Apr 24, 2020
While forming JSON response from Subgraph, we build one intermediate data structure called
fastJsonNode tree. Each fastJsonNode has some fields which help correct encoding to JSON.
isChild and list are also part of these fields.
Currently isChild and list are used interchangeably and serve same purpose. This PR remove
isChild for simplicity and better readability of the code.
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 18, 2020
While forming JSON response from Subgraph, we build one intermediate data structure called
fastJsonNode tree. Each fastJsonNode has some fields which help correct encoding to JSON.
isChild and list are also part of these fields.
Currently isChild and list are used interchangeably and serve same purpose. This PR remove
isChild for simplicity and better readability of the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants