json-schema-validator/test/issue-209/CMakeLists.txt
Patrick Boettcher 4f67636760 ref-schema: create a new ref-schema when default-value is present
Default-values on schemas with a $ref field are now stored within
a new reference schema which links to the original reference schema.
It contains the default value and keeps a strong reference (shared_ptr)
to the original reference.

Fixes #209
2022-06-27 10:30:11 +02:00

4 lines
172 B
CMake

add_test_simple_schema(Issue::209
${CMAKE_CURRENT_SOURCE_DIR}/entities.schema.json
${CMAKE_CURRENT_SOURCE_DIR}/instance.json)