Skip to content

Comments

Handle breaking change of additional optional parameters#3739

Closed
live1206 wants to merge 25 commits intoAzure:feature/v3from
live1206:abstract-signature
Closed

Handle breaking change of additional optional parameters#3739
live1206 wants to merge 25 commits intoAzure:feature/v3from
live1206:abstract-signature

Conversation

@live1206
Copy link
Member

@live1206 live1206 commented Sep 14, 2023

This PR introduces SignatureTypeProvider, it holds three portions of code:

  • current
  • custom
  • previous contract
    current union custom compare with previous contract outputs the changeset, with it we can apply different rules with

It provides

  • OverloadingMethods: for now represents the missing methods in previous contract due to additional optional parameters in the new contract, this is causing breaking changes
  • MethodsToSkip: represents the methods already defined in custom code, the writer should skip them while writing to the output

@live1206
Copy link
Member Author

Merged the change into #3686

@live1206 live1206 closed this Sep 15, 2023
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.

1 participant