graphql-js
graphql-js copied to clipboard
buildClientSchema: build enum type value maps lazily
The option of passing a thunk was made available by: https://github.com/graphql/graphql-js/pull/4018 .
Always passing the thunk helps contribute to a "lazy" build process, which gives the following performance boost: