Skip to content

Commit

Permalink
Merge pull request #80 from chanzuckerberg/j-x-han/revert-custom-queries
Browse files Browse the repository at this point in the history
Revert custom queries and mutations
  • Loading branch information
j-x-han authored Jul 12, 2024
2 parents a5ed8ba + 79a7222 commit 1373a23
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.
17 changes: 0 additions & 17 deletions test_app/custom_mutations.py

This file was deleted.

12 changes: 0 additions & 12 deletions test_app/custom_queries.py

This file was deleted.

5 changes: 2 additions & 3 deletions test_app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
from platformics.settings import APISettings
from database import models

from custom_mutations import Mutation
from custom_queries import Query

from api.mutations import Mutation
from api.queries import Query

settings = APISettings.model_validate({}) # Workaround for https://github.com/pydantic/pydantic/issues/3753
schema = strawberry.Schema(query=Query, mutation=Mutation, config=get_strawberry_config(), extensions=[HandleErrors()])
Expand Down

0 comments on commit 1373a23

Please sign in to comment.