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

Add synthesizer for Livewire #7

Merged
merged 5 commits into from
Jul 10, 2024

Conversation

gehrisandro
Copy link
Contributor

@gehrisandro gehrisandro commented Jun 26, 2024

This PR adds a synthesizer for Livewire in order to make Snowflake usable as properties. This is also necessary to make Snowflake compatible with Filament.

See https://livewire.laravel.com/docs/synthesizers

An additional option would be, to add a service provider which would register the synthesizer automatically when Livewire is installed. If you prefer this option, I am happy to update my PR.

Thanks for your package 🎉

@gehrisandro
Copy link
Contributor Author

Just realized that we must convert the ID into a string instead of an integer due to the max integer limitation in Javascript. See: livewire/livewire#4743 (comment)

@inxilpro inxilpro merged commit 7380ab2 into glhd:main Jul 10, 2024
17 checks passed
@inxilpro
Copy link
Contributor

Thanks!

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