How to use the GraphQLString function from graphql
Find comprehensive JavaScript graphql.GraphQLString code examples handpicked from public code repositorys.
16 17 18 19 20 21 22 23 24 25
case 'tinyint': return graphql.GraphQLBoolean case 'smallint': return graphql.GraphQLInt case 'decimal': return graphql.GraphQLString case 'bigint': return graphql.GraphQLString case 'int2': return graphql.GraphQLInt
96
963
17
+ 15 other calls in file
GitHub: dinubs/coolqlcool
42 43 44 45 46 47 48 49 50 51
description: 'Passed in HTML to query off of, can use this when you already have the HTMl and just want to query off of it.', type: graphql.GraphQLString, }, headers: { description: 'Headers to be passed along the fetch request to the website', type: graphql.GraphQLString }, wait: { description: 'This will wait for a certain amount of time in milliseconds, only works with passing URL.', type: graphql.GraphQLInt,
48
635
13
GitHub: jagql/framework
7 8 9 10 11 12 13 14 15 16
const args = { } const resourceConfig = jsonApi._resources[resource] Object.keys(resourceConfig.attributes).forEach(attribute => { args[attribute] = { description: 'Filter string', type: graphQl.GraphQLString } }) return args }
20
52
4
208 209 210 211 212 213 214 215 216 217
argPath = parameter['x-argPath'], paramSchema = parameter.schema; if (isRootQuery || !argPath) { // this is a root operation or resolution path is not defined => parameter is required var type = _graphql.GraphQLString; if (parameterType) { type = computeType({ type: parameterType }, operationsDescriptions, swagger, idFormats, typesBag, newParentTypePath); } if ((paramIn === 'body' || paramIn === 'formData') && paramSchema) {
5
7
3
GitHub: steventhorne/legendhub
870 871 872 873 874 875 876 877 878 879
case "tinyint": t = graphql.GraphQLBoolean; break; case "varchar": case "text": t = graphql.GraphQLString; break; case "datetime": t = GraphQLDateTime; break;
3
6
0
2 3 4 5 6 7 8 9 10 11
const TitleType = require('./title'); // Article, Media, etc const BlockItem = new graphql.GraphQLInterfaceType({ id: { type: new graphql.GraphQLString() }, type: { type: new graphql.GraphQLObjectType(TitleType) },
2
0
27
8 9 10 11 12 13 14 15
global.GraphqlUnionType = global.GraphQLUnionType = graphql.GraphQLUnionType; global.GraphqlInterfaceType = global.GraphQLInterfaceType = graphql.GraphQLInterfaceType; global.GraphqlEnumType = global.GraphQLEnumType = graphql.GraphQLEnumType; global.GraphqlInt = global.GraphQLInt = graphql.GraphQLInt; global.GraphqlFloat = global.GraphQLFloat = graphql.GraphQLFloat; global.GraphqlString = global.GraphQLString = graphql.GraphQLString; global.GraphqlBoolean = global.GraphQLBoolean = graphql.GraphQLBoolean; global.GraphqlID = global.GraphQLID = graphql.GraphQLID;
0
0
5
graphql.GraphQLNonNull is the most popular function in graphql (4226 examples)