Skip to content

generate patch files if a patch file doesn't already exist #1036

@iscai-msft

Description

@iscai-msft

Since we're leaning more into encouraging people to use the patch.py to modify the generated code, we want to make it easier for people to start customizing the generated code. This will also clean up a little bit of our generated code, because we can assume that a patch.py file exists. If a patch.py file already exists, we don't do anything and keep the code the same. However, if there is no patch.py file in the generated output folder, we want to create a patch.py file (for both sync and async). This patch.py file should also have basic instructions on how to write to this patch.py file, so users have an idea when they first start out about what to do

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions