does not support type identification from text
andersfylling opened this issue · comments
In structs, when a type/value is defined as text containing the type the system does not relate to the actual type.
eg.
Message#mentions | array of user objects, with an additional partial member field
should yield
Message#mentions | []user
but instead it yields
Message#mentions | array
The type is already linked in the docs so no regex is required just a link referal and then a map lookup, where the url is the key. Regex can then be used to convert "array of X" to "[]X"
While this does not fix the "with an additional partial member field" exception to the struct definition, it does improve the current state of the art.
i'd actually be cool with it doing the former, but the type does need to be inferred