autorest.typescript icon indicating copy to clipboard operation
autorest.typescript copied to clipboard

suppport clean up unused external depedencies in binder

Open qiaozha opened this issue 6 months ago • 1 comments

Currently, we have some logic to deal with external dependencies like paging or lro to see if it's was really required, However, I wonder if binder could remove the external dependency if it's not referenced? in that way, we could also remove the hasLro or hasPaging logic here https://github.com/qiaozha/autorest.typescript/blob/bc7bd80a65f12650b712b7723d5d275935470a74/packages/rlc-common/src/metadata/packageJson/azurePackageCommon.ts#L45-L58

qiaozha avatar Aug 21 '24 14:08 qiaozha