LSIF: GraphQL: fix directory/tree resolver confusion and conflicts
Created by: slimsag
This PR basically:
- Clarifies WTF
TreeEntryLSIFData
actually is, I assumed tree == directory but that is not at all true, it's actually any file/directory. Document this. - Make
GitTree.lsif
return aGitTreeLSIFData
resolver, instead of the "super" typeTreeEntryLSIFData
. Right now, this requires copying all methods ofTreeEntryLSIFData
intoGitTreeLSIFData
. In the next PR I send, this will enable me to instead have these methods defined only onGitTreeLSIFData
(directory-specific) instead of BOTH onTreeEntryLSIFData
andGitBlobLSIFData
. - Also clarify other confusions I had with comments.