Ernest Micklei

Results 110 comments of Ernest Micklei

I noticed a similar increase in compilation but I think it is strongly related to my recent upgrade of Go SDK from 1.4.2 to 1.5.1 for which they rewrote the...

i am thinking about using https://github.com/getkin/kin-openapi for this

hi, i think relaxing the type of AllowValues argument is possible i.e. from map[string]string to map[string]any. This needs a test though

Mora is organized such that it can be embedded in your own application. In the root you find one main.go file that imports and wires-up all to start the application....

thank for reporting this and providing the example with expected output. I need to look back at the setup to see what is possible now or what can be done...

i am investigating whether adding ` prop.Format = "binary"` on line 319 will fix this

for fields of type `[]byte` you can put the format in a tag: ``` type BA struct { ByteArray []byte `format:"binary"` } ``

In JSON, numbers are double by default. I wonder if what you see is related to mora, mgo the driver or mongo. Perhaps https://golang.org/pkg/encoding/json/#Decoder.UseNumber should be used. It needs investigation

do you have a suggestion to fix this?