Skip to content

Change Sequence[CompletionItemKind] to Sequence[CompletionItemKind | int]?  #344

@alcarney

Description

@alcarney

In situations where an enum is "open" (such as here), would it be possible to update the generator to output the union of the enum and the value type it is based on?

I'm assuming (but have not checked! 😅) that this will prevent the converter we get from lsprotocol from rejecting values it does not recognise, but are permitted by the spec.

Additional context: openlawlibrary/pygls#438

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions