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

make qualtrics survey instance id nullable on result objects #29

Merged

Conversation

kluver
Copy link
Contributor

@kluver kluver commented Aug 9, 2024

Another short PR -- the survey extract was hard-crashing when invalid instance_ids were provided. This combined with a partner PR in platform should fix it. (no change to SQL should be needed. This field is nullable in the database.

I chose this approach over switching everything to a string (the raw data returned from the API) because we currently have a foreign key relationship. I think it's theoretically still possible for a third party to crash this process by inputting a random UUID through manual URL editing, but it's much less likely and would require a seperate fix.

@kluver kluver requested a review from karlhigley August 9, 2024 18:05
@kluver kluver self-assigned this Aug 9, 2024
@kluver kluver merged commit 14b257c into main Aug 12, 2024
2 checks passed
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