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

Check for valid data before loading a schema #264

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

the-greenman
Copy link
Collaborator

This is a tiny fix to check that we have a valid schema Id in place before we attempt to load it.

I've not got a test written for this one. This is essentially a bug fix, so I'm not creating a test for the existence of the bug.

@vercel
Copy link

vercel bot commented Feb 21, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/kendraio/kendraio-app/96ejdKpzjnVWmqo5w5eNyKB1NPQL
✅ Preview: https://kendraio-app-git-263-allow-items-to-be-added-to-58454a-kendraio.vercel.app

Copy link
Member

@lukestanley lukestanley left a comment

Choose a reason for hiding this comment

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

The existing functionality is not well tested, nor are the changes, e.g: targetToSource or error checking.

@vercel
Copy link

vercel bot commented Apr 25, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
kendraio-app ✅ Ready (Inspect) Visit Preview Apr 25, 2022 at 2:52PM (UTC)

@the-greenman
Copy link
Collaborator Author

I've removed the accidentally added new code to this. We need a better grip on how we are managing schemas in general before creating tests for this block.

This is now nothing more than a small big fix to remove an error in mapping code.

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.

3 participants