Skip to content

Solve issues with pickled schemas (#173) #184

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

Merged
merged 9 commits into from
Nov 2, 2022
Merged

Solve issues with pickled schemas (#173) #184

merged 9 commits into from
Nov 2, 2022

Conversation

Cito
Copy link
Member

@Cito Cito commented Nov 2, 2022

This PR solves the problems caused by pickling schemas, as mentioned in #173, mainly by:

  • not using local functions in extend_schema
  • making sure that no duplicates of singleton types are created when unpickling

@Cito Cito linked an issue Nov 2, 2022 that may be closed by this pull request
@Cito Cito merged commit 4c8ecd4 into main Nov 2, 2022
@Cito Cito deleted the pickle-schema branch November 2, 2022 15:19
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.

GraphQLSchema serialization using pickle
1 participant