Skip to content
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

move SchemaDef to top level #38

Open
tetron opened this issue Jul 17, 2024 · 0 comments
Open

move SchemaDef to top level #38

tetron opened this issue Jul 17, 2024 · 0 comments

Comments

@tetron
Copy link
Member

tetron commented Jul 17, 2024

SchemaDefRequirement is awkward to use.

Propose moving the content of SchemaDefRequirement to document top level (same level as CommandLineTool/Workflow etc). The requirement is no longer necessary, and parameters can just refer to types at arbitrary URIs provided they are resolvable.

$graph:
 - name: FooRecord
   type: record
   fields:
    foo: string
    bar: int

- id: Bar
  class: CommandLineTool
  inputs:
    param1: FooRecord

For discussion:

  • How to disentangle 'inputBinding' for these types? (Maybe define a new set of types that are compatible but not directly the same, that don't include inputBinding)
  • Do we want to follow references to type definitions without needing an explicit import?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant