Skip to content

remove compile-time dependency on schema in Socket#44

Open
novaugust wants to merge 1 commit into
absinthe-graphql:mainfrom
Frameio:me/compilation-dep
Open

remove compile-time dependency on schema in Socket#44
novaugust wants to merge 1 commit into
absinthe-graphql:mainfrom
Frameio:me/compilation-dep

Conversation

@novaugust

Copy link
Copy Markdown

the existing after_compile hook places a compile-time depedency on whatever module is passed as the schema. given Schema modules have large transitive dependencies, this can cause recompilation pain in a project.

this update moves the argument verification into the __using__ macro, and changes it from being a warning to a raise.

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