tauri-apps / tauri-apps/tauri-docs

[feature] Add a guide on default type conversions and workarounds between front and back

Open
#2,162 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
MDX
Stars
1.1k
Forks
887
Avg merge
2d 8h
Merged PRs (30d)
48

Description

tatapstar:
Is it possible to add a guide on default type conversions and workarounds between front and back?
Simon:
Definitely, could you make a feature request for it on the tauri-docs repository so I don't forget about it? 🙂

context:

  1. I found problem: invoke command converts rust HashMap<i32, Node> to js/ts flat Array
    Any solution?
  2. https://github.com/tauri-apps/tauri/discussions/9153

Contributor guide

Open the contributing guide

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.

Research direction

Start with the invoke command conversion behavior described in the issue, especially Rust HashMap<i32, Node> becoming a JavaScript/TypeScript array, then read discussion #9153 for context. Done means the Tauri documentation includes default front-to-back type conversions and documented workarounds for the reported cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, rust, typescript
Domain
api, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.