Commit 2c42b72
Replace 'entity' identifier example from cdl.md (#1982)
In the "Keywords & Identifiers" section there's an example of the
keyword `entity` being used as an identifier, which seems confusing and
"asking for trouble" :-)
Moreover, a little further on, in a "Warning" section, it states
"Delimited identifiers in general, but in particular non-ASCII
characters, _or keywords as identifiers_ should be avoided as much as
possible, for reasons of interoperability." (emphasis mine).
In addition, the definition of the `entity` aspect also had an `Integer`
key called `ID`, which is perhaps not to be universally encouraged
(better to use `cuid` with its `UUID` type).
So I reworked this section.
Co-authored-by: Daniel Hutzel <[email protected]>1 parent cdf69ad commit 2c42b72
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
| |||
69 | 65 | | |
70 | 66 | | |
71 | 67 | | |
72 | | - | |
| 68 | + | |
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
| |||
0 commit comments