dfinity / ICRC

Repository to ICRC proposals
Apache License 2.0
26 stars 5 forks source link

`type` is not a proper field name in Block Schema #65

Closed zensh closed 3 months ago

zensh commented 3 months ago

type is not a proper field name, it is a keyword and conflicts in most programming languages.

image

@dietersommer

dietersommer commented 3 months ago

Excellent point, this should be addressed in ICRC-3. Many thanks for raising this! Having it called type makes working with it more cumbersome as you would need to map it to another name to not have the conflict.

zensh commented 3 months ago

Seems that it was changed to btype.