Skip to content

WIP: Add example from JSON Data Format docs to v2 tests #267

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RJKeevil
Copy link

Description

Demonstrates the issue raised in #265

v2_test.go Outdated
mutationDQL = fmt.Sprintf(`{
"set": %s
}`, jsonBytes)
resp, err = client.RunDQL(ctx, dgo.RootNamespace, mutationDQL, dgo.WithReadOnly())
Copy link
Member

Choose a reason for hiding this comment

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

WithReadOnly?

Copy link
Author

Choose a reason for hiding this comment

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

Ah thanks, copy and paste error. Fixed now but it gives the same error

Note this currently fails intentionally, to demonstrate mismatch with documentation
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.

2 participants