Skip to content

Commit 44d8603

Browse files
committed
RFC #30: add a pattern constraint to interface port names.
1 parent 3683a2c commit 44d8603

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text/0000-component-metadata.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ class ComponentMetadata(Annotation):
403403
},
404404
"name": {
405405
"type": "string",
406+
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
406407
},
407408
"dir": {
408409
"enum": ["in", "out"],

0 commit comments

Comments
 (0)