graphql-js icon indicating copy to clipboard operation
graphql-js copied to clipboard

buildClientSchema: build enum type value maps lazily

Open yaacovCR opened this issue 6 months ago • 0 comments

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:

image

yaacovCR avatar Jun 03 '25 18:06 yaacovCR