Commit 4e7d59f
authored
Clarify typeid spec (#445)
## Summary
Clarify the typeid spec, and add some additional examples of invalid
typeids.
## How was it tested?
N/A
## Community Contribution License
All community contributions in this pull request are licensed to the
project maintainers
under the terms of the [Apache 2
license](https://www.apache.org/licenses/LICENSE-2.0).
By creating this pull request I represent that I have the right to
license the
contributions to the project maintainers under the Apache 2 license.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Documentation**
- Improved the overall clarity and structure of project documentation.
- Expanded the TypeID specification with a new section on length
constraints, refined rules for identifier components, and updated
examples.
- Reorganized community implementation details for better presentation.
- **Tests**
- Enhanced validation coverage by introducing new cases for empty or
improperly formatted identifiers.
- Removed an outdated test case to streamline internal validations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent bb034b3 commit 4e7d59f
6 files changed
Lines changed: 196 additions & 136 deletions
File tree
- typeid
- typeid-go/testdata
- typeid
- spec
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
150 | 106 | | |
151 | 107 | | |
152 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | 101 | | |
104 | 102 | | |
105 | 103 | | |
| |||
0 commit comments