refactor: rename isNodeAPISupported to assertNodeAPISupported(#19257 ) Merged Merging
refactor/assert-node-api-supported into
Benchmarks Failing typescript compilation ~50 Models Regression
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models Passing client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models client generation 100 models with relations
packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relations packages/get-platform/bench/get-platform.bench.ts::get-platform::getPlatform Commits Click on a commit to change the comparison range fix(client): $$typeof runtime error (#19230) base 7 months ago by millsp refactor: rename isNodeAPISupported to assertNodeAPISupported
This function doesn't return a boolean or anything and throws if the
checked conditions are not met, so the existing name was confusing.
This commit renames the function to better convey what it does. Copyright © 2023 CodSpeed Technology SAS. All rights reserved.