chore: note lossy google schema scrub
parent
82ad7e29a6
commit
2ef2646b31
|
|
@ -50,6 +50,7 @@ index ff9cbcfebfac6b4370d85dc838f5cacf2a60ed64..42096c82aec925b412258348a36ba4a7
|
||||||
+ '$comment',
|
+ '$comment',
|
||||||
+ 'additionalProperties',
|
+ 'additionalProperties',
|
||||||
+ ];
|
+ ];
|
||||||
|
+ // TODO(steipete): lossy schema scrub; revisit when Google supports these keywords.
|
||||||
+ for (const [key, value] of Object.entries(schema)) {
|
+ for (const [key, value] of Object.entries(schema)) {
|
||||||
+ // Skip unsupported keywords
|
+ // Skip unsupported keywords
|
||||||
+ if (unsupportedKeywords.includes(key)) {
|
+ if (unsupportedKeywords.includes(key)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue