Skip to content

feat: add method to create BaseDoc from schema #1667

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

Merged
merged 8 commits into from
Jun 22, 2023

Conversation

JoanFM
Copy link
Member

@JoanFM JoanFM commented Jun 21, 2023

This code is used inside Jina to dynamically create BaseDocs in services where the actual BaseDoc is not created but still hold the validation capabilities.

You can think as being easy to validate the BaseDoc at the driver or client program of a server serving BaseDoc models.

Signed-off-by: Joan Fontanals Martinez <[email protected]>
@JoanFM JoanFM force-pushed the feat-add-create-dynamic-doc branch from 8d3d297 to 4b018d8 Compare June 21, 2023 10:48
@JoanFM JoanFM force-pushed the feat-add-create-dynamic-doc branch from c5580ba to 0ea3a28 Compare June 21, 2023 16:59
Signed-off-by: Joan Fontanals Martinez <[email protected]>
@JoanFM JoanFM force-pushed the feat-add-create-dynamic-doc branch from 0ea3a28 to e5f065f Compare June 21, 2023 17:01
@JoanFM JoanFM requested a review from scott-martens June 22, 2023 07:58
@JoanFM JoanFM force-pushed the feat-add-create-dynamic-doc branch from d4d6b8b to e2d41f0 Compare June 22, 2023 07:59
@JoanFM JoanFM force-pushed the feat-add-create-dynamic-doc branch 2 times, most recently from 4060c31 to 10204ad Compare June 22, 2023 08:04
Co-authored-by: Johannes Messner <[email protected]>
Signed-off-by: Joan Fontanals <[email protected]>
Signed-off-by: Joan Fontanals Martinez <[email protected]>
@JoanFM JoanFM force-pushed the feat-add-create-dynamic-doc branch from 10204ad to be35141 Compare June 22, 2023 08:07
Signed-off-by: Joan Fontanals Martinez <[email protected]>
@JoanFM JoanFM force-pushed the feat-add-create-dynamic-doc branch from 4c040a0 to 97c07e5 Compare June 22, 2023 08:17
@JoanFM JoanFM closed this Jun 22, 2023
@JoanFM JoanFM reopened this Jun 22, 2023
@github-actions
Copy link

📝 Docs are deployed on https://ft-feat-add-create-dynamic-doc--jina-docs.netlify.app 🎉

@JoanFM JoanFM requested a review from samsja June 22, 2023 10:55
@JoanFM JoanFM merged commit a764341 into main Jun 22, 2023
@JoanFM JoanFM deleted the feat-add-create-dynamic-doc branch June 22, 2023 11:31
@JoanFM JoanFM mentioned this pull request Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants