Skip to content

Conversation

@knirirr
Copy link
Contributor

@knirirr knirirr commented Oct 23, 2025

Dealing with some warnings related to JSON validation.

@coveralls
Copy link

coveralls commented Oct 23, 2025

Coverage Status

coverage: 82.31% (-0.1%) from 82.437%
when pulling 8767bae on deprecation_warnings
into 5cf4ae3 on develop.

Copy link
Member

@proccaserra proccaserra left a comment

Choose a reason for hiding this comment

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

failure of tests is down to this schema which mandates "format" to be email.
"email" : { "type" : "string", "format" : "email"},

trying: "email" : { "type" : ["string", null], "format" : "email"}, does not fix it.

quick fix is relaxing requirement: "email" : { "type" : "string"}, but this is cheeky
alternative: fix test data so email is always present to json schema validation passes
worth having a chat with MetaboLights (@oyerulten) & users

@knirirr knirirr requested a review from proccaserra October 27, 2025 10:51
Copy link
Member

@proccaserra proccaserra left a comment

Choose a reason for hiding this comment

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

looks good to me and all points addressed following our discussion. thx @knirirr

@proccaserra proccaserra merged commit 6351ad0 into develop Oct 27, 2025
12 checks passed
@knirirr knirirr deleted the deprecation_warnings branch November 3, 2025 15:25
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.

4 participants