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

fix(types): outdated error message #608

Merged
merged 2 commits into from
Mar 13, 2025
Merged

Conversation

rafalnawojczyk
Copy link
Contributor

What kind of change does this PR introduce?

Slightly changes the output of the error, as when using:
.overrideTypes<MyType>()
for an array of results - I was getting error pointing me to use .returns<Array<YourType>> which is currently deprecated.

I've made a message clear for users that gets this error from .overrideTypes as well as for .returns enjoyers.

What is the current behavior?

It returns an error message that can be misleading and pointing to use deprecated features.

What is the new behavior?

Additional context

Add any other context or screenshots.

@soedirgo
Copy link
Member

Thanks!

@soedirgo soedirgo merged commit 8ba8745 into supabase:master Mar 13, 2025
2 checks passed
Copy link

🎉 This PR is included in version 1.19.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants