Skip to content

Parse props from more T:Struct-like things #105

@timgaleckas

Description

@timgaleckas

We have a class

class Ti::Struct < T::InexactStruct
  extend T::Helpers
  extend T::Sig
  abstract!
  ...

that we use in place of T::Structs to add custom deserialization among other things. We'd like to use parlour to generate rbi files but it only handles props on 'T::Struct' due to https://github.com/AaronC81/parlour/blob/master/lib/parlour/type_parser.rb#L180

We've written a plugin to handle props on these classes but it would be great if parlour supported anything that has T::Prop included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions