autorest.typescript
autorest.typescript copied to clipboard
suppport clean up unused external depedencies in binder
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