This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user