VSVladimir Sapronovinsapronov.dev·Aug 30, 2022 · 7 min readGo Vendoring is Dead, Long Live The Vendoring!Vendoring is a feature of golang that allows you to ensure that 3rd party packages used by your project are consistent (of the same version) for anyone who is using your application or library. More specifically the code of these dependencies is plac...00
VSVladimir Sapronovinsapronov.dev·Aug 24, 2022 · 3 min readOpenAPI Flaws - Type and FormatHow would you define a parameter/field of type “long”? It’s easy, right? You just declare the parameter/field with its type: Java and C#: long the_field Kotlin: the_field: Long Go: int64 the_field Rust: the_field: i64 Every programming language has a...00
VSVladimir Sapronovinsapronov.dev·Jun 3, 2022 · 4 min readOpenAPI Flaws - Required FieldLet's consider the OpenAPI (aka swagger) sample (also on the cover image): Person: type: object properties: first_name: type: string middle_name: type: string last_name: type: string Is everything fine with it? What...00
VSVladimir Sapronovinsapronov.dev·Oct 26, 2020 · 7 min readProgramming Language DictatorshipI have been coding for 16 years and tried many technical stacks. Learning new languages is a lot of fun. In the beginning new languages are always like new toys, until somewhere in the third month you hit problems. There’s always something simple mis...00