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

fix(core): Fix regression in parsing json empty string #9108

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

shivaji-dgraph
Copy link
Contributor

@shivaji-dgraph shivaji-dgraph commented Jul 2, 2024

Currently when we parse an empty string, a json empty array is returned. This is a regression. This diff fixes it. We disallow any vector of empty length.

@shivaji-dgraph shivaji-dgraph requested a review from a team as a code owner July 2, 2024 11:58
@dgraph-bot dgraph-bot added area/testing Testing related issues go Pull requests that update Go code labels Jul 2, 2024
@shivaji-dgraph shivaji-dgraph force-pushed the shiva/empty_string branch 2 times, most recently from f055af4 to dee07a9 Compare July 5, 2024 06:01
@harshil-goel harshil-goel changed the title fix json empty string fix(core): Fix regression in parsing json empty string Jul 5, 2024
@harshil-goel harshil-goel merged commit 37a7d0b into main Jul 5, 2024
13 checks passed
@harshil-goel harshil-goel deleted the shiva/empty_string branch July 5, 2024 12:24
ryanfoxtyler pushed a commit that referenced this pull request Jul 21, 2024
Currently when we parse an empty string, a json empty array is returned.
This is a regression. This diff fixes it. We disallow any vector of
empty length.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Testing related issues go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

3 participants