meilisearch / meilisearch/deserr

Add a bunch of small examples showing typical use cases

Open
#15 0 comments 0 reactions 1 assignee View on GitHub

@irevoire is already working on this.

Since Jan 26, 2023.

Dominant language
Rust
Stars
51
Forks
5
PR merge metrics
No merged PRs in 30d

Description

  • Integration with actix_web
  • Show how to implements the Deserr trait manually
  • Validating a struct with multiple fields that shares a relation
  • Ensure a struct can't be deserialised under certain conditions (like our settings with the Checked / Unchecked thingy)
  • Show a usage of the from attribute to ensure a field is never constructed if it doesn't follow certains rules (a String that can't contains certain characters like our IndexUid?)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.