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

feat: return plugin name in call to LoadSchema #2

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

mikefero
Copy link
Contributor

@mikefero mikefero commented Jan 28, 2022

Since the schemas are loaded as Lua files it is easier to get the plugin name that is being loaded by using the Lua VM. The filenames may not always dictate the exact name of the plugin and the name field is required by Kong Gateway for all the plugin schemas.

This change allows the code to be more dynamic when loading plugin information into memory for runtime use.

@hbagdi hbagdi merged commit 71a8d33 into main Jan 28, 2022
@hbagdi hbagdi deleted the feat/add-plugin-name-return-load-schema branch June 21, 2022 16:12
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