obmarg / kazan

Kubernetes API client for Elixir
https://hex.pm/packages/kazan
MIT License
138 stars 35 forks source link

Generate typespecs #44

Closed samb1729 closed 5 years ago

samb1729 commented 6 years ago

I reckon it'd be nice to be able to check the validity of struct-modifying code with Dialyzer. Given the types are already present in the docs it seems the required information is there to do this.

obmarg commented 6 years ago

Yeah, I agree - it would be great to generate typespecs along with the structs/functions.

obmarg commented 6 years ago

Started work on this feature last night on this branch. Proving to be a lot easier than I expected.