graphql-query-purifier

A small library to match .gql queries vs user input. Removes fields from user requests that are not expected by your frontend code.

Browse on unpkg