You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CamelCase doesn't work; it assumes that the 'I' in "Id" at the end of aggregate/stream id parameters and properties is the only uppercase char. Fails without les validate error and results in broken les-node API code.
//Ensure consistent casing for stream Ids: e.g. TimesheetHoursId is represented as "timesheethoursId".
If we want to keep the property's name in the case it is, we just need to change the next line (301) to the following: event.Event.Properties[index].Name = parameter.Name[:len(parameter.Name)-2] + "Id"
CamelCase doesn't work; it assumes that the 'I' in "Id" at the end of aggregate/stream id parameters and properties is the only uppercase char. Fails without
les validate
error and results in broken les-node API code.For example: inventoryitemId vs. inventoryItemId
This works:
This passes
les validate
but results in a brokenles-node -b
API:The text was updated successfully, but these errors were encountered: