Skip to main content

QUERY

Constant QUERY 

Source
pub const QUERY: &str = "query UserCollectionQuery(\n    $username: String!\n    $limit: Int\n    $offset: Int\n    $universe: String\n) {\n    user(username: $username) {\n        collection(limit:$limit offset:$offset universe:$universe) {\n            products { \n                id\n                url\n                title\n                originalTitle\n                yearOfProduction\n                rating\n                universe\n                otherUserInfos(username:$username) {\n                    rating\n                    dateDone\n                    isWished\n                    review {\n                        bodyText\n                    }\n                }\n            }\n        }\n    }\n}\n";