Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Feedback for “Type Merging Transform” #7019

Closed
jasonseminara opened this issue May 24, 2024 · 0 comments
Closed

Feedback for “Type Merging Transform” #7019

jasonseminara opened this issue May 24, 2024 · 0 comments

Comments

@jasonseminara
Copy link
Contributor

I'd like some more examples of computed fields.

I have the following schema, and I'd like to compute some fields:

type Sales {
  totalCommissionYTD: Float
}

type Seller {
    commission: Float
    # This field should be invented based on (commission / totalCommissionYTD)
    #  commissionPercentOfTotal: Float
}  

How would I write this in my mesh.yml?

Repository owner locked and limited conversation to collaborators Jul 22, 2024
@ardatan ardatan converted this issue into discussion #7329 Jul 22, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant