Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
When using filter in error got error [GraphQLError: Unknown argument "filter" on field "Query.dmsPhysicalRwGoalSetting".],
code:-- test("allDmsPhysicalRoVwStoreMasters", async () => { //const data = GetDashboardItemsData; await RunGraphQLQuery( // GraphQL query goes here:
query getGoalSettingsByGroupName($group_name: String, $store_id: String) { dmsPhysicalRwGoalSetting(filter: { groupName: { equalTo: $group_name }, storeId: { equalTo: $store_id } }) { nodes { goalId goalName goalValue storeId } } }
, // GraphQL variables: { group_name: "abc", store_id: "1234", }, // Additional props to add toreq
(e.g.user: {session_id: '...'}
) {}, // This function runs all your test assertions: async (json) => {); });