Skip to content

Support extend type Filesystem #3062

@sipsma

Description

@sipsma

User extensions should be able to add fields to Filesystem (and in general, any other types). E.g. this could enable something like

{
   core {
    git(remote:"github.com/foo/bar") {
      yarn(script:"build") {
         ...
      }
    }
   }
}

Basically, chains become even more powerful.

Based on a quick test this actually appears to work as of today with the exception that codegen for go doesn't generate methods for implementing the filesystem subfield resolvers. But if you manually add the resolver by hand it works; schema is stitched correctly and resolver is routed as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions