A better Rust ATProto crate
102
fork

Configure Feed

Select the types of activity you want to include in your feed.

lexgen: generate actual enums for enum strings #15

open opened by blooym.dev

Right now the generator will see the following and generate a Cowstr that isn't validated to be one of the possible closed values instead of a type safe enum.

"sortBy": {
   "type": "string",
   "enum": ["newest", "oldest", "top"],
   "default": "newest"
}

It would be a major improvement to change this behaviour.

[deleted by author]
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:p5yjdr64h7mk5l3kh6oszryk/sh.tangled.repo.issue/3md2grmzix722