-
Notifications
You must be signed in to change notification settings - Fork 16
[WIP] Update to Elm 0.18 and Firebase 3 #16
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
base: master
Are you sure you want to change the base?
Conversation
to avoid confusion with `subscription`
Simplifications: * Only subscription to valueChanged events * No query options * Fixed Firebase location
Unfortunately we cannot use a union type for Location as we did before. The implementation of the effect manager demands Location to be a comparable type. Union types are not comparable (in Elm 0.17). Lists and tuples are the only aggregate types that transports comparability of its element type.
As suggested by Rogério Chaves: #15 (comment) Pros: - No need to patch Firebase script - Faster loading from CDN / cache / parallel chunk. - Can upgrade firebase for non-breaking changes without changing ElmFire. - More flexibility while developing new ElmFire version Cons: - ElmFire is not self-contained any more. - User is now responsibly for compatibility of the version of included firebase.js script. This is a preliminary change during development. We may change back to included Firebase script for published versions of ElmFire. Needs to be discussed with community.
|
Really like what I see happening now. |
|
@atlewee thanks, missed that one. Example is now updated too. |
|
Hi @ThomasWeiser, I'm really interested in this project and I would like to help you to update it to Elm 0.18 but I'm not that advanced in Elm so if you're willing to somehow guide me I can help you with the code. To give you an idea of how I'm using Elm you can check the repos below (most recent to older)
Kind regards. |
|
FWIW, Firebase 4.x is out already (see release notes). Just saying in case you think it makes sense to sync directly to it. |
PR to track progress. Please use it for discussions and reviews.
Previous discussions in issues Support elm 0.17 and Firebase 3.0
Agenda:
And: