oxidecomputer / oxidecomputer/typify

`TypeSpaceSettings::with_replacement` only applies to types generated from `$ref`s

Open
#583 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

typify2
Dominant language
Rust
Stars
898
Forks
114
Avg merge
4h 18m
Merged PRs (30d)
14

Description

It would be nice to be able to replace types that are created "inline", e.g. for array items.

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.

Research direction

Start by examining TypeSpaceSettings::with_replacement and the code that generates types for inline array items. Trace how replacements are currently applied to $ref-generated types. Done means inline-created types, including array item types, can also be replaced without breaking existing replacement behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.