Tags: einride/aip-go
Tags
feat(protoc-gen-go-aip): support text interfaces from encoding pkg Namely the `encoding.TextMarshaler` and `encoding.TextUnmarshaler` interfaces. Letting the resourcename struct implement these allows them to be more versatile, e.g. allowing them to be used in config structs in cloudrunner-go and other such places.
fix(resourceid): allow user-settable IDs to have length one In the AIP documentation, it is never mentioned that the user-settable ID must be at least four characters. This commit changes the validation to allow user-settable id with only one character. Relevant AIP docs: * [AIP-122](https://google.aip.dev/122#resource-id-segments) * [AIP-133](https://google.aip.dev/133#user-specified-ids)
PreviousNext