-
Notifications
You must be signed in to change notification settings - Fork 15
Proposal: Adding a baseRef option #39
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
Conversation
I'm in favor of this, put a pr in and we'll make it happen!
…On Wed, Jun 19, 2019, 8:26 PM cheddar ***@***.***> wrote:
A sample proposal to add a baseRef option. This would allow routing
updates to a base endpoint (e.g. users/$uid would write as users/$uid/post
for a post mapper).
------------------------------
You can view, comment on, or merge this pull request online at:
#39
Commit Summary
- Adding a baseRef option
File Changes
- *M* src/index.js
<https://github.com/js-data/js-data-firebase/pull/39/files#diff-0> (3)
Patch Links:
- https://github.com/js-data/js-data-firebase/pull/39.patch
- https://github.com/js-data/js-data-firebase/pull/39.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#39?email_source=notifications&email_token=ABNSMS44EJZ3YWEJJNUBNC3P3L2FFA5CNFSM4HZO7DQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2RP5UQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNSMSZP6QBBW4QP4C6L5O3P3L2FFANCNFSM4HZO7DQQ>
.
|
Cool! This ticket is a PR so I added the code for you to review, but there's a few questions I had:
If there's other things you need me to change to finish this off, let me know! |
Oops! I was replying from email and didn't realize it was a PR :-) TBH - this library needs some love & attention - if you or anyone else is interested in bringing it up to date, I'll work with you to get it up to ~2019 pkg standards ;-) I believe the ENV vars are in the circle CI environment which is also outdated and I think needs to be upgraded to v2 of circle CI compatibility. Also, I would vote for switching the tests to Jest or at the very least updating the test lib dependencies. Also, this PR would be a feature, minor version release v3.1.0 - any objections? |
For updating the packages, do you just want latest versions or trying to switch out any of them for different libs? CI sounds like something you'd have to handle since that will require more access. I can look into getting a base Jest testing setup with some instructions on setting up your test environment. A 3.1.0 version is fine by me. |
I think Jest is awesome but feel free to swap out or upgrade to whatever is easiest and stable for the project 👍
|
1 similar comment
I think Jest is awesome but feel free to swap out or upgrade to whatever is easiest and stable for the project 👍
|
@chadwithuhc do you need some help on this still? |
So I put this off for a while cause it was confusing. I tried to get a start on it today and I think there's a few limitations preventing a switch to Jest. If you look into the At the bare minimum, I updated the testing info so people could get the tests running at least. There was info missing on setup. I also ran an |
@crobinson42 thoughts? |
@chadwithuhc looks good! |
published v3.1.0 |
awesome thanks! What do we gotta do to get the latest on npm? |
Oops, sorry @chadwithuhc I though I had published 3.1.0 last week. It's published now 👍🏽 |
A sample proposal to add a
baseRef
option. This would allow routing updates to a base endpoint (e.g.users/$uid
would write asusers/$uid/post
for apost
mapper).npm test
succeeds