back soft

مطالب مرتبط با «how to split a pdf» در back soft | نویسنده: استخدام کار

How to split schema in GraphQL without having circular dependencies?

Vote count: 0 My question is similar to Javascript circular dependency in GraphQL code but my problem is not on the structure and database level, but in javascript (ES6). My schema definition is getting to grow too large but I don't see where I could cut the file into pieces. It seems to be logical to cut based on the different object types, but that brings to circular dependencies similarly to this very much simplified, non-working example: // -- file A.js import { bCoection, getBs } from 'B'; export class A { /*...*/ }; export var getA = (a) => { /*...*/ }; export var getAs = (array_of_as) => { /*...*/ }; export var aType = new GraphQLObjectType ({ name: 'A', fields: () => ({ bs: { type: b...

ادامه مطلب

برچسب‌های مرتبط

how to split screen on mac | how to split a cell in excel | how to split screen on windows 10 | how to split hostas | how to split a pdf | how to split wood | how to split screen | how to split screen on windows 8 | how to split an uber | how to split a clip in imovie