开发者社区> 镜像站> NPM> @platform/graphql.server
@platform/graphql.server
Express configuration of Apollo server.
Last updated 8 days ago by philcockfield .
MIT · Original npm · Tarball · package.json
$ cnpm install @platform/graphql.server 
SYNC missed versions from official npm registry.

Module License: MIT NPM banner

Express configuration of Apollo Graphql server.

 

JSON Data

When returning unstructured JSON data include the scalar JSON within the type-defs:

export const typeDefs = gql`
  scalar JSON

  type Query {
    myObject: JSON
  }
`;

export const resolvers = {
  Query: {
    myObject: async (_: any, args: any, ctx: any, info: any) => {
      return { count: 123, message: 'Any structure' };
    },
  },
};

 

 

Current Tags

  • 0.1.144                                ...           latest (8 days ago)

109 Versions

  • 0.1.144                                ...           8 days ago
  • 0.1.140                                ...           13 days ago
  • 0.1.139                                ...           25 days ago
  • 0.1.137                                ...           25 days ago
  • 0.1.135                                ...           2 months ago
  • 0.1.131                                ...           3 months ago
  • 0.1.129                                ...           4 months ago
  • 0.1.128                                ...           4 months ago
  • 0.1.127                                ...           4 months ago
  • 0.1.126                                ...           5 months ago
  • 0.1.125                                ...           5 months ago
  • 0.1.123                                ...           6 months ago
  • 0.1.122                                ...           6 months ago
  • 0.1.121                                ...           6 months ago
  • 0.1.120                                ...           6 months ago
  • 0.1.114                                ...           6 months ago
  • 0.1.113                                ...           7 months ago
  • 0.1.112                                ...           7 months ago
  • 0.1.111                                ...           9 months ago
  • 0.1.110                                ...           9 months ago
  • 0.1.105                                ...           9 months ago
  • 0.1.102                                ...           9 months ago
  • 0.1.101                                ...           9 months ago
  • 0.1.98                                ...           9 months ago
  • 0.1.94                                ...           9 months ago
  • 0.1.93                                ...           10 months ago
  • 0.1.92                                ...           10 months ago
  • 0.1.91                                ...           10 months ago
  • 0.1.89                                ...           10 months ago
  • 0.1.88                                ...           10 months ago
  • 0.1.87                                ...           10 months ago
  • 0.1.86                                ...           10 months ago
  • 0.1.84                                ...           10 months ago
  • 0.1.82                                ...           a year ago
  • 0.1.81                                ...           a year ago
  • 0.1.79                                ...           a year ago
  • 0.1.77                                ...           a year ago
  • 0.1.73                                ...           a year ago
  • 0.1.71                                ...           a year ago
  • 0.1.70                                ...           a year ago
  • 0.1.66                                ...           a year ago
  • 0.1.65                                ...           a year ago
  • 0.1.64                                ...           a year ago
  • 0.1.63                                ...           a year ago
  • 0.1.60                                ...           a year ago
  • 0.1.57                                ...           a year ago
  • 0.1.56                                ...           a year ago
  • 0.1.55                                ...           a year ago
  • 0.1.54                                ...           a year ago
  • 0.1.53                                ...           a year ago
  • 0.1.50                                ...           a year ago
  • 0.1.49                                ...           a year ago
  • 0.1.48                                ...           a year ago
  • 0.1.45                                ...           a year ago
  • 0.1.43                                ...           a year ago
  • 0.1.42                                ...           a year ago
  • 0.1.41                                ...           a year ago
  • 0.1.40                                ...           a year ago
  • 0.1.39                                ...           a year ago
  • 0.1.37                                ...           a year ago
  • 0.1.33                                ...           a year ago
  • 0.1.32                                ...           a year ago
  • 0.1.31                                ...           a year ago
  • 0.1.28                                ...           a year ago
  • 0.1.27                                ...           a year ago
  • 0.1.26                                ...           a year ago
  • 0.1.24                                ...           a year ago
  • 0.1.23                                ...           a year ago
  • 0.1.22                                ...           a year ago
  • 0.1.20                                ...           a year ago
  • 0.1.19                                ...           a year ago
  • 0.1.17                                ...           a year ago
  • 0.1.14                                ...           a year ago
  • 0.1.13                                ...           2 years ago
  • 0.1.9                                ...           2 years ago
  • 0.1.8                                ...           2 years ago
  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.28                                ...           2 years ago
  • 0.0.27                                ...           2 years ago
  • 0.0.26                                ...           2 years ago
  • 0.0.25                                ...           2 years ago
  • 0.0.24                                ...           2 years ago
  • 0.0.21                                ...           2 years ago
  • 0.0.20                                ...           2 years ago
  • 0.0.19                                ...           2 years ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
  • 0.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 12
Last Month 44
Dependencies (13)
Dev Dependencies (3)
Dependents (1)