Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
32 stars 80 forks source link

[BUG] Autorest.java needs away to disable changes to module-info.java #2647

Open jairmyree opened 3 months ago

jairmyree commented 3 months ago

When regenerating a DPG client, autorest will update the module-info.java as well. This is not always desired a part of the DPG client regeneration and results in the need of consistent reverts to prevent unintended changes. These changes are easy to miss and therefore a flag should be introduced to disable edits to module-info.java

weidongxu-microsoft commented 3 months ago

Could you describe a concrete case that affect module-info.java?

partial-update option would enable the "merge" of existing module-info.java with the generated one, does this solve your issue?