|
@@ -199,6 +199,7 @@ private:
|
|
|
// to store it uniquely. Draft2019_09 supports directly extending a $ref schema
|
|
// to store it uniquely. Draft2019_09 supports directly extending a $ref schema
|
|
|
// in the same schema, instead of requiring an allOf clause.
|
|
// in the same schema, instead of requiring an allOf clause.
|
|
|
if (node->is_pure_reference()) {
|
|
if (node->is_pure_reference()) {
|
|
|
|
|
+ node = *node->reference_schema();
|
|
|
cache_.erase(it);
|
|
cache_.erase(it);
|
|
|
return alias(context.where, node);
|
|
return alias(context.where, node);
|
|
|
}
|
|
}
|