-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS - kiota abstractions must be a peer dependency in auth and fetch library #42
Comments
Thanks for raising this. |
We will have abstractions as a dependency in graph core and service library. the graph core depends on the interfaces for RequestOptions and authentication which are needed for a core only user as well. |
but then following that logic, http/serialization/authentication which all depend on and expose abstractions interfaces should also have a dependency, not a peer dep. |
@gavinbarron can you provide input on this one please? |
@gavinbarron to provide input on this topic. I think the way we have it is absolutely OK and shouldn't be a peer dependency. Especially for a first-run experience that would add a lot of complexity IMO. |
@gavinbarron @musale I'd appreciate your input on this one |
Interesting. I would strongly agree that we put abstractions as a peer dependency if it was an ever-changing lib. I think it has a pretty finalized api that doesn't change that often. Hence having it as it is works just fine. In the event things change api wise for abstractions, then setting it as a peer dependency will offer a better experience for http/authentincation/serialization lib usage. |
https://stackoverflow.com/a/34645112/10760931
The text was updated successfully, but these errors were encountered: