Skip to content

Conversation

@okAiSun
Copy link

@okAiSun okAiSun commented Jan 14, 2025

Following up with @waynebowie99 's changes, this gives the option to combine the properties of duplicate classes so they will still be one class. Mismatched properties are set to be nullable, since they may not exist on a get.

You can set how you'd like to handle the duplicate schemas in the app settings, with the default being "First", in which only the first class is added. (How the main branch works now)

public bool IsCommonDocument { get; set; } = false;
public string CommonDocumentName { get; set; } = "YARP";
public bool RenameDuplicateSchemas { get; set; } = false;
public string DuplicateSchemas { get; set; } = "First";
Copy link
Owner

@andreytreyt andreytreyt Jan 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@okAiSun Hi! Let's use enum like First, Rename, Combine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants