-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Upgrade from 2.1.2 to 3.0.0, the Luxon object stopped working properly as the defaultValue #100
Comments
Uhm, i see what the problem is...in #89 i had to This is a tricky one to solve. |
I'm thinking if adding an Also i'm kinda planning a rewrite for svelte 5 and runes so i |
Thanks for the response. It's alright, I can manage with version 2.1.2 for now, but it would be great to consider this behavior in future versions. It's extremely convenient to have the luxon |
Yeah i think having the param decoded to a class should be supported...i just don't know how to do it 😄 |
@paoloricciuti Hi, do you have any new information for me, please? I’m still using version 2 with Svelte 5, and it’s starting to be problematic :-) |
As i've said i the version i removed |
Unfortunately, I’m very unhappy with v4—or perhaps I just don’t fully understand it. The
I could import it wherever I wanted and easily update it via
Or create functions for namespaced parameters in data grids:
And then simply use it like: However, after starting to migrate to v4, I found that the code has become significantly less readable and more difficult to use. I have about 60 usages of Is there a way to use the new version so it better fits my use case? Thank you! |
Describe the bug
This code was working normally in the previous version:
In version 3.0.0, the Luxon object has somehow been transformed, causing basic methods to become unavailable. For example,
$to.startOf('month')
no longer works.I'm afraid that this is a side effect of the recent changes.
#89
#87
Is there a workaround, or should I use it in a different way?
Thank you!
Reproduction
See the result in the console:
3.0.0 (error): https://stackblitz.com/edit/sveltejs-kit-template-default-nu1tgv?file=src%2Froutes%2F%2Bpage.svelte
2.1.2 (working): https://stackblitz.com/edit/sveltejs-kit-template-default-uy9ugg?file=src%2Froutes%2F%2Bpage.svelte
Logs
No response
The text was updated successfully, but these errors were encountered: