This commit updates the class declaration for ResponseBuilder to return the explicit ResponseBuilder type on builder methods. This is because returning this does not help infer the actual type in the LSP clients used by code editors, which means chaining for the response builder was not getting auto-complete.
This commit updates the class declaration for
ResponseBuilder
to return the explicitResponseBuilder
type on builder methods. This is because returningthis
does not help infer the actual type in the LSP clients used by code editors, which means chaining for the response builder was not getting auto-complete.