Skip to content

Graphql - #11

Open
samngms wants to merge 12 commits into
masterfrom
graphql
Open

samngms wants to merge 12 commits into
masterfrom
graphql

Conversation

@samngms

@samngms samngms commented Feb 12, 2021

Copy link
Copy Markdown
Owner

New feature: supporting GraphQL

Comment thread kong/plugins/request-firewall/handler.lua Outdated
end

-- Check variables by validateTable
local status, err = pcall(function() m.validateTable(config, rootConfig.variables, config.allow_unknown_body, root.name, body["variables"]) end)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Need to make sure body["variables"] is a table. This can be done by type(...) == "table"

- Add parameter resolving mechanism
- Update schema for better field specifying
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.

2 participants