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

refactor #331

Merged
merged 49 commits into from
Feb 20, 2021
Merged

refactor #331

merged 49 commits into from
Feb 20, 2021

Conversation

issa-tseng
Copy link
Member

No description provided.

* we used to define the most recently submitted submission_def as the
  current one. i preferred this bc i don't want to duplicate information
  that can get out of sync.
* but it's really slow to do that query, and we have to do it all over.
* so just use a flag instead.
* there isn't yet a way to make a new version of an existing submission
  to begin with, so all submissions are current and all we have to do is
  always flag true.
* but the migration does the full query anyway just in case.
* but this isn't accessible yet. first we have to decide how to query
  and return def information along w the logical submission.
* but actually basic submission streaming does work now.
* but it will require a patch to slonik. :(
lib/model/migrations/20210120-01-instance-names.js Outdated Show resolved Hide resolved
lib/worker/worker.js Outdated Show resolved Hide resolved
test/integration/api/forms.js Outdated Show resolved Hide resolved
test/integration/api/projects.js Outdated Show resolved Hide resolved
test/integration/api/sessions.js Outdated Show resolved Hide resolved
test/unit/model/container.js Outdated Show resolved Hide resolved
test/unit/util/db.js Outdated Show resolved Hide resolved
Copy link
Member

@matthew-white matthew-white left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉🎉🎉

@issa-tseng
Copy link
Member Author

this will be ready to merge as soon as slonik is merged upstream and updated here.

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.

None yet

2 participants