plain-purple
plain-purple5w ago

This is my current query

This is my current query
{"query":"query GetPeople($sort: [String], $filter: people_filter, $offset: Int, $limit: Int) {\n people(sort: $sort, filter: $filter, offset: $offset, limit: $limit) {\n id\n status\n sort\n name\n email\n phoneNumber\n Type\n tags\n avatar {\n filename_disk\n }\n }\n}\n","variables":{"sort":[],"where":{"email__eq":"mansiranghar56@gmail.com"},"start":0,"limit":10},"operationName":"GetPeople"}
{"query":"query GetPeople($sort: [String], $filter: people_filter, $offset: Int, $limit: Int) {\n people(sort: $sort, filter: $filter, offset: $offset, limit: $limit) {\n id\n status\n sort\n name\n email\n phoneNumber\n Type\n tags\n avatar {\n filename_disk\n }\n }\n}\n","variables":{"sort":[],"where":{"email__eq":"mansiranghar56@gmail.com"},"start":0,"limit":10},"operationName":"GetPeople"}
1 Reply
ratty-blush
ratty-blush4w ago
Hey @jhatkelal you can swizzle your data provider and modify it to match your schema. https://refine.dev/docs/packages/cli/#do-i-need-to-swizzle
CLI | Refine
Refine CLI is a command line application that allows you to interact with your Refine project and perform some tasks. This includes creating a new resource, managing updates, swizzle components, and runs your project (build, start, dev).