Comments (4)
I have tested this in our project with aliases:
alias: {
"disposablestack/AsyncDisposableStack": "core-js-pure/actual/async-disposable-stack"
}
and it works flawlessly, so just replacing the imports should work
from graphql-mesh.
I'm not sure adding the entire core-js
library as a dependency just for this ponyfill is a good idea.
If you create a reproduction, we can help you better.
from graphql-mesh.
The issue I was having is due to some esbuild compiling cjs-to-esm default import problem.
Funnily enough, core-js-pure
is less than a third the size of installing disposablestack
because of all the extra crap added into it! That's how much it's bloated.
https://pkg-size.dev/core-js-pure
https://pkg-size.dev/disposablestack
from graphql-mesh.
I can also open a PR for this as well if needed :)
from graphql-mesh.
Related Issues (20)
- [v1] Support HTTP-callback-based protocol for subscriptions on subgraphs HOT 1
- `additionalResolvers` aren't called on fields added by `additionalTypeDefs` that are nonnullable
- `createNamingConventionTransform` `enumValues` errors on valid enums in openapi schema
- `createRenameTransform` `argRenamer` leads to the post body disappearing from the request
- `createPruneTransform()` resets `@httpOperation` to default GET request
- `loadOpenAPISubgraph` string requires minLength when theres a maxLength
- [v1] Add `schemaHeaders` to introspection queries HOT 2
- Regression: interface implementations are also queried in graphql backend. HOT 1
- Hive docs are out of date
- The Hive integration does not support schema stitched projects where multiple services contribute to the final graph HOT 6
- [v1] mesh-serve print config path in debug mode `DEBUG=1`
- [v1] mesh-serve misleading `@parcel/watcher` warning
- [v1] log requests for mesh-serve
- [v1] move to using `@graphql-hive/yoga` instead of `@graphql-hive/client`
- [v1] tag docker image matching serve-cli versions
- Support for Automatic Persisted Queries to the backend
- [v1] log requests from gateway to proxy/subgraph
- redis distributed caching testing and documentation
- Mesh execution freezes when a plugin does `request.clone()`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-mesh.