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 support for recursive types in JsonSchema #1753

Closed
shashitnak opened this issue Apr 18, 2024 · 2 comments
Closed

Add support for recursive types in JsonSchema #1753

shashitnak opened this issue Apr 18, 2024 · 2 comments
Labels
state: inactive No current action needed/possible; issue fixed, out of scope, or superseded.

Comments

@shashitnak
Copy link
Contributor

Problem
Current implementation of JsonSchema doesn't support recursive types.

pub enum JsonSchema {
    Obj(HashMap<String, JsonSchema>),
    Arr(Box<JsonSchema>),
    Opt(Box<JsonSchema>),
    Enum(BTreeSet<BTreeSet<String>>),
    Str,
    Num,
    Bool,
}

The type definition has to be updated to support recursive types.

Copy link

Action required: Issue inactive for 30 days.
Status update or closure in 7 days.

@github-actions github-actions bot added the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label May 18, 2024
Copy link

Issue closed after 7 days of inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: inactive No current action needed/possible; issue fixed, out of scope, or superseded.
Projects
None yet
Development

No branches or pull requests

1 participant