-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
base: develop
Are you sure you want to change the base?
Conversation
Deactivate guard
Updates for file importer
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/kendraio/kendraio-app/96ejdKpzjnVWmqo5w5eNyKB1NPQL |
src/app/blocks/load-schema-block/load-schema-block.component.ts
Outdated
Show resolved
Hide resolved
src/app/blocks/rename-fields-block/rename-fields-block.component.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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. |
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.