This commit is contained in:
parent
2174a99a24
commit
474d2091c6
|
@ -8,6 +8,7 @@ from services.auth import login_required
|
||||||
from services.db import local_session
|
from services.db import local_session
|
||||||
from strawberry_sqlalchemy_mapper import StrawberrySQLAlchemyMapper
|
from strawberry_sqlalchemy_mapper import StrawberrySQLAlchemyMapper
|
||||||
import strawberry
|
import strawberry
|
||||||
|
from strawberry.schema.config import StrawberryConfig
|
||||||
|
|
||||||
strawberry_sqlalchemy_mapper = StrawberrySQLAlchemyMapper()
|
strawberry_sqlalchemy_mapper = StrawberrySQLAlchemyMapper()
|
||||||
|
|
||||||
|
@ -133,4 +134,4 @@ class Mutation:
|
||||||
return NotificationSeenResult()
|
return NotificationSeenResult()
|
||||||
|
|
||||||
|
|
||||||
schema = strawberry.Schema(query=Query, mutation=Mutation)
|
schema = strawberry.Schema(query=Query, mutation=Mutation, config=StrawberryConfig(auto_camel_case=False))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user