{"library":"graphql-fields-to-relations","type":"library","category":null,"description":"A GraphQL utility that extracts relation strings from GraphQL query fields for use with MikroORM's populate feature. Version 1.0.5 is the latest stable release; the package is maintained but sees infrequent updates. It specifically targets MikroORM users who need to dynamically populate relations based on client queries, reducing over-fetching. Unlike generic graphql-fields packages, this one outputs nested relation paths in the format MikroORM expects.","language":"javascript","status":"maintenance","version":"1.0.5","tags":["javascript","graphql-fields","mikro-orm","graphql","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install graphql-fields-to-relations","imports":["import fieldsToRelations from 'graphql-fields-to-relations'","import fieldsToRelations from 'graphql-fields-to-relations'","import { GraphQLResolveInfo } from 'graphql'"]},{"cmd":"yarn add graphql-fields-to-relations","imports":[]},{"cmd":"pnpm add graphql-fields-to-relations","imports":[]}],"homepage":"https://github.com/driescroons/graphql-fields-to-relations#readme","github":"https://github.com/driescroons/graphql-fields-to-relations","docs":null,"changelog":null,"pypi":null,"npm":"graphql-fields-to-relations","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}