Comments (2)
Hello @brampurnot, thanks for your report.
We're not able to reproduce this, the following sequence of commands produces no error on our end:
npx create-wundergraph-app my-project --example nextjs
cd my-project
npm run build:wundergraph
npm run check
npm run build:next
Additionally, we can manually see that @wundergraph/swr does export SWRConfig:
$ grep SWRConfig node_modules/@wundergraph/swr/dist/index.d.ts
import { SWRConfiguration, SWRResponse, Key } from 'swr';
export { SWRConfig, useSWRConfig } from 'swr';
type UseQueryOptions<Data, Error, Input extends object | undefined, OperationName extends string, LiveQuery> = Omit<SWRConfiguration<Data, Error>, 'fetcher'> & WithInput<Input, {
interface UseUserOptions<User> extends FetchUserRequestOptions, SWRConfiguration<User> {
Could you please share the package.json
that's being generated on your end? That might give us more information.
from wundergraph.
Thanks! I actually updated the wundergraph packages and now it seems to work! Not sure what happened.
from wundergraph.
Related Issues (20)
- [Issue]: WG not sending query params when `statusCodeUnions` is `true` HOT 1
- [Issue]: mock server not working as expected HOT 2
- [Issue]: With openApiV2, BigInt cannot be serialized HOT 1
- [Issue]: Missing import sdk/server/fetch.ts HOT 4
- [Issue]: Scalar input fields on GraphQL datasource converted to strings HOT 13
- [Issue]: Live queries are not working when running server in debug mode (SvelteKit) HOT 2
- [Issue]: InputValidationError returns text/plain but should return application/json HOT 4
- [Issue]: Nextjs token based auth is not secure HOT 5
- Support for @tanstack/react-query v5 HOT 2
- Generated graphql Operations ignore the default values set in OAS Schema definition
- [Issue]: TestServer start timeout artificially limited to maximum of 60s HOT 1
- Object literal may only specify known properties, and 'type' does not exist in type 'JSONSchema7' HOT 5
- [Issue]: Nextjs App Router Migration Problem HOT 5
- introspect.graphql does not work for Contetnful GQL Schema HOT 3
- [Issue]: NextJS 14 failing to run useQuery calls that are Live Queries HOT 5
- Remove dependency on terminate package HOT 1
- [Issue]: Unable to get headers in revalidate hook HOT 1
- [Issue]: Crash in Subscriptions after publishing an event to NATS. HOT 6
- [Issue]: wunderctl start from `@wundergraph/sdk:0.177.0` always returning `stack` property for operation errors HOT 1
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 wundergraph.