Skip to content

Commit 2358bfa

Browse files
committed
remove quotes from "service_class"
Since the guidance for attribute names is to downcase and use underscores so that the attribute names can be used without quotes, this just changes the example given to show that behavior. The quotes being present are still valid JSON / JavaScript, but since the guidance leads to attribute names that can be used without them, having the example not include the quotes shows the benefit.
1 parent d4f3fa7 commit 2358bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Downcase attributes as well, but use underscore separators so that
193193
attribute names can be typed without quotes in JavaScript, e.g.:
194194

195195
```
196-
"service_class": "first"
196+
service_class: "first"
197197
```
198198

199199
### Nest foreign key relations

0 commit comments

Comments
 (0)