-
Notifications
You must be signed in to change notification settings - Fork 11
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 snapshots option to cli pull command #732
Conversation
@josephjclark I'm unable to find the tests for |
@midigofrank Ack, you're right. Our testing across deploy and pull has always been extremely poor and it's never been important enough to fix. We'll test any new CLI commands manually as part of QA on this branch. So no CLI tests needed. In |
39d31fa
to
a1cebb2
Compare
@midigofrank aside from the typo this looks fine, but I'm curious about the URL This is a strange format to me:
What's up with the square brackets? I suppose this is a lightning design thing, but I wo?snapshots[]=1&snapshots[]=2 I would expect either of the following formats:
|
Hey @josephjclark, the square braces is a convention for handling array data sent through forms or just get requests. When phoenix sees that kind of data, it will correctly parse it as an Here's the input for editing the first job's name: <input class="" id="workflow_jobs_0_name" name="workflow[jobs][0][name]" type="text" value="Transform data to FHIR standard"> This gets parsed as: |
Cool, I've never seen that before. I'll approve once the typo is fixed. I haven't tested this at all. Do you want someone to run QA or shall we just release it? Looks like quite a safe change |
I see no harm at all, lets just release it. |
Short Description
Adds
--snapshots
option to cli pull commandRelated issue
Fixes #729
QA Notes
openfnx pull {projectId}
should work as it was before--snapshots
option appends the snapshots to the query params. i.e?snapshots[]=1&snapshots[]=2
Checklist before requesting a review