gadgeto icon indicating copy to clipboard operation
gadgeto copied to clipboard

Deprecate "enum" tag

Open nathancastelein opened this issue 7 years ago • 3 comments

The new validator package (v9) introduces the oneof tag: https://godoc.org/gopkg.in/go-playground/validator.v9#hdr-One_Of

There is no more need to document the tonic enum tag IMO.

nathancastelein avatar Sep 17 '18 14:09 nathancastelein

We kept it so the package remains backward compatible.

wI2L avatar Sep 18 '18 08:09 wI2L

Yes, but we should remove its usage from README :)

nathancastelein avatar Sep 18 '18 09:09 nathancastelein

@garbage-collector I'd rather mark it as deprecated explicitly.

wI2L avatar Oct 01 '18 16:10 wI2L