Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start making ext-src SDK imports relative #2225

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

sodic
Copy link
Contributor

@sodic sodic commented Aug 2, 2024

Originally motivated by #2096, but it turns out that was solved with 0.14.0 (see the issue for details)

We still have other extension-related problems (described in #2222), so this is still something we should do.

@infomiho
Copy link
Contributor

infomiho commented Aug 7, 2024

@sodic what did you try to do here? Could you give me a high level explanation so I can review with that context in mind?

@sodic
Copy link
Contributor Author

sodic commented Aug 7, 2024

I tried to change the ext imports inside the SDK:

  • From import { getFoo } from 'wasp/ext-src/operations/queries
  • To import { getFoo } from '../../wasp/ext-src/operations/queries/index.js

I stopped because it opened a can of worms I documented in #2222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants