这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@wawhal
Copy link
Contributor

@wawhal wawhal commented Mar 23, 2020

Description

If the the type is wrapped with a combination of arrays and non-nullables in SDL (ex: [String!]!), console reverses the order currently.

This PR fixes it.

Changelog

  • CHANGELOG.md is updated with user-facing content relevant to this PR.

Affected components

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System
  • Tests
  • Other (list it)

Related Issues

#4099

Steps to test and verify

Try writing arbitrary types in SDL format in actions. Ex: [[Int]!]!. Hit save, the order must be maintained.

@wawhal wawhal requested a review from beerose as a code owner March 23, 2020 12:05
@wawhal wawhal added c/console Related to console k/bug Something isn't working p/urgent Immediate action required labels Mar 23, 2020
@wawhal wawhal changed the title console shared modules: reverse typename wrap in SDL parsing console shared modules: fix parsing of wrapped types in SDL Mar 23, 2020
@hasura-bot
Copy link
Contributor

Review app for commit f47c1fc deployed to Heroku: https://hge-ci-pull-4167.herokuapp.com
Docker image for server: hasura/graphql-engine:pull4167-f47c1fc0

Copy link
Contributor

@marionschleifer marionschleifer left a comment

Choose a reason for hiding this comment

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

Changelog approved.

Copy link
Contributor

@beerose beerose left a comment

Choose a reason for hiding this comment

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

LGTM. Functionality also works as expected.

@beerose beerose requested a review from rikinsk March 24, 2020 11:12
@hasura-bot
Copy link
Contributor

Review app for commit 581303b deployed to Heroku: https://hge-ci-pull-4167.herokuapp.com
Docker image for server: hasura/graphql-engine:pull4167-581303b4

@rikinsk rikinsk added this to the v1.2 milestone Mar 25, 2020
@rikinsk rikinsk merged commit ac9e1b9 into hasura:master Mar 25, 2020
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-4167.herokuapp.com is deleted

anurag pushed a commit to anurag/graphql-engine that referenced this pull request Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/console Related to console k/bug Something isn't working p/urgent Immediate action required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants