这是indexloc提供的服务,不要输入任何密码
Skip to content

Computed Field Comments Do Not Propagate to GraphQL Schema Descriptions #6256

@lummish

Description

@lummish

Descriptions

Currently, it appears as though comments applied to computed fields via the console do not propagate to GraphQL schema descriptions. Instead, a standard description is applied, as seen below:

type table {
  # A computed field, executes function "with_args_function"
  #
  # Arguments
  # args: input parameters for function "with_args_function"
  with_args_computed_field(args: with_args_computed_field_args!): Boolean

  # A computed field, executes function "no_args_function"
  no_args_computed_field: Boolean
} 

Ideally, first line of the description would instead be the user-defined comment.

Related Issues

#446 #2397

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions