Skip to content

Merged result in parse_item not passed back to parse_object_fields #2995

@koxudaxi

Description

@koxudaxi

Related: #2990, #2993

When $ref is combined with schema-affecting keywords (e.g., const) and the merge correctly occurs in parse_item, the merged result is not passed back to parse_object_fields. This causes it to generate the pre-merged type instead of the merged type.

This was noted by @juliusliu02 in #2993 (comment) as a separate aspect of the original issue #2990.

#2993 addresses part 1 (preventing unnecessary merges for non-schema-affecting extras), but this issue tracks part 2 (ensuring merged results propagate correctly when merging is intended).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions