2023-12-18 01:20:13 +03:00
|
|
|
import strawberry
|
|
|
|
from strawberry.schema.config import StrawberryConfig
|
2023-12-17 14:42:04 +03:00
|
|
|
|
2023-12-17 14:47:05 +03:00
|
|
|
from services.auth import LoginRequiredMiddleware
|
2023-12-22 12:09:03 +03:00
|
|
|
from resolvers.load import Query
|
|
|
|
from resolvers.seen import Mutation
|
2023-11-26 13:18:57 +03:00
|
|
|
|
2023-12-17 14:42:04 +03:00
|
|
|
schema = strawberry.Schema(
|
|
|
|
query=Query, mutation=Mutation, config=StrawberryConfig(auto_camel_case=False), extensions=[LoginRequiredMiddleware]
|
|
|
|
)
|