Skip to content

Allow ignoring fields with struct tags

Choose a tag to compare

@dranikpg dranikpg released this 13 Dec 10:02
· 1 commit to main since this release
0b37c2e

Thanks to @Osendo for this feature! 🔥

type Order struct {
	Id string

	json.Marshaler   `dto:"ignore"` // ignored
	json.Unmarshaler `dto:"ignore"` // and this as well
}