I think that only resource types have "first class methods" in WIT-- is there a convention for defining methods on records/enum types? I guess just a function that takes the record type as its first argument...?
Yes, functions that take the record type as the first argument is currently the way to do this.
Last updated: Sep 20 2026 at 19:05 UTC