Skip to content

feat: route accroding to the graphql attributes#2964

Merged
moonming merged 4 commits into
apache:masterfrom
spacewander:gq
Dec 10, 2020
Merged

feat: route accroding to the graphql attributes#2964
moonming merged 4 commits into
apache:masterfrom
spacewander:gq

Conversation

@spacewander

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@spacewander
spacewander marked this pull request as ready for review December 4, 2020 09:50
@spacewander
spacewander marked this pull request as draft December 4, 2020 10:57
@spacewander
spacewander marked this pull request as ready for review December 7, 2020 02:23
Comment thread apisix/core/ctx.lua Outdated
return nil, "empty graphql: " .. body
end

return res, nil

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

return res be fine

Comment thread apisix/core/ctx.lua Outdated
Comment thread apisix/core/ctx.lua
Comment thread t/lib/test_admin.lua
Signed-off-by: spacewander <[email protected]>
@membphis

membphis commented Dec 8, 2020

Copy link
Copy Markdown
Member

@JanLi-air do you have time to look at this PR?

@membphis membphis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, except minor code style things

Comment thread apisix/core/ctx.lua Outdated
Signed-off-by: spacewander <[email protected]>
@moonming moonming added this to the 2.2 milestone Dec 10, 2020
@moonming
moonming merged commit 93e2f16 into apache:master Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants