Skip to content

Question: Transitive dependencies #63

Answered by kzu
psimsa asked this question in Q&A
Discussion options

You must be logged in to vote

Great question @psimsa.

The package author gets to decide if their sponsorship is transitive or not (at the moment).

NuGet provides a package dependency graph that SL inspects to determine if your package is a top-level dependency or not. If the SL settings used by the package-provided analyzer doesn't specify transitivity, SL won't check sponsorship unless the package is top-level.

Since direct dependencies are the most likely scenario where you want sponsorship checks (i.e. some Azure package using Newtonsoft.Json, the check would be for the Azure package authors, not their consumers), the default is to be non-transitive.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kzu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #55 on August 25, 2023 15:06.