Skip to content

v0.14.4

@mvdan mvdan tagged this 11 Jan 16:57
The main reason we mapped IPLD enums to Go strings is simple:
by default, IPLD enums don't have stable int values for each member.

However, that's the opposite for enums with int representations,
as each member must have a unique integer value attached.

Moreover, the GraphSync protocol uses integer constants for IPLD enums,
so we want to support their reasonable use case natively too.
Assets 2
Loading