Skip to content

Conversation

gmac
Copy link
Owner

@gmac gmac commented Jun 6, 2025

Resolves #183.
Reported by @lish82, thanks!

Issue was that kwarg values are snakecase while the corresponding arguments map has the natural camelcase keys. One solution would be to camelize the argument check. However, kwargs without an argument definition are really more of an error scenario, and do already error in Schema.from_definition.

So, I think we just omit the check and operate on the reasonable assumption that the schema is valid.

@gmac gmac merged commit cbc0e65 into main Jun 6, 2025
7 checks passed
@gmac gmac deleted the fix_camelcase_kwargs branch June 6, 2025 00:45
@gmac gmac mentioned this pull request Jun 6, 2025
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.

Error composing subgraph with directive using camelCase arguments
1 participant