Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jul 00:49
· 330 commits to main since this release
9139a28

Minor Changes

  • #7634 f8a8ea08f Thanks @dfperry5! - Updating the ApolloServer constructor to take in a stringifyResult function that will allow a consumer to pass in a function that formats the result of an http query.

    Usage:

    const server = new ApolloServer({
      typeDefs,
      resolvers,
      stringifyResult: (value: FormattedExecutionResult) => {
        return JSON.stringify(value, null, 2);
      },
    });