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

Add Storage TypeInstance related validation #656

Closed
mszostok opened this issue Mar 9, 2022 · 0 comments · Fixed by #659
Closed

Add Storage TypeInstance related validation #656

mszostok opened this issue Mar 9, 2022 · 0 comments · Fixed by #659
Assignees
Labels
area/hub Relates to Hub enhancement New feature or request
Milestone

Comments

@mszostok
Copy link
Member

mszostok commented Mar 9, 2022

Description

We need to ensure that all operation related to Storage TypeInstance are valid.

AC

  • validate if backend accepts value field
  • validate if backend accepts context field
    • if accepts, validate data against backend.contextSchema
  • validate that Storage TypeInstances follow the convention of having url, acceptValue, and contextSchema fields. As context is optional, the contextSchema field is nullable.

out of scope:

Related issues

See epic #604 for reason and use cases.

@mszostok mszostok added enhancement New feature or request area/hub Relates to Hub labels Mar 9, 2022
@mszostok mszostok added this to the 0.7.0 milestone Mar 9, 2022
@mszostok mszostok added the needs-triage Relates to issues that should be refined label Mar 9, 2022
@mszostok mszostok self-assigned this Mar 9, 2022
@mszostok mszostok removed the needs-triage Relates to issues that should be refined label Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hub Relates to Hub enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant