-
Notifications
You must be signed in to change notification settings - Fork 1
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
Validation error when adding PositionalVariant with negative position #69
Comments
You will need to make sure the client is using the same version of schema as the API |
Ty @creisle for pointing this out. It seems they do: |
should I just be migrating the gui to the latest version of the schema package then? |
Hi @areisle ! Isn't it already the case? Imean, both the API and GUI using the Parser v4.0.0? |
I mixed up those number in your image, but I'm guessing the schema version number it's displaying in the gui is just the one the api is using. if you look in the repo at the package json its v3 https://github.com/bcgsc/pori_graphkb_client/blob/master/package.json#L17 |
So the Client's About page is showing the Schema version used by the API, not the one used by the Client itself. Humm, I did not know that; ty @areisle ! So yes, I guess we should be migrating the gui to the latest version of the schema package. |
I started working on this, but this could end up taking a long time. v3 and v4 of schema are almost completely different and a lot of things aren't in the migration guide so I'm having to look between the v3 and v4 code to figure out what changes and where things were moved or renamed. |
When adding a new PositionalVariant record using CdsPosition, a ValidationError is raised if a negative position is typed, even if the actual Schema definition for CdsPosition allows for it: https://github.com/bcgsc/pori_graphkb_schema/blob/master/src/definitions/position.ts#L69-L80
Issue linked to SDEV-2999 and KBDEV-990.
The text was updated successfully, but these errors were encountered: