You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was under the impression that the federation transform actually added apollo federation directives to a type, so if this was my .meshrc.yml for the openapi-stackexchange example:
With my assumptions on how this work I was assuming that this would transform the Question type from this:
type Question {
tags: [String]
owner: QuestionOwner
is_answered: Boolean
view_count: Int
answer_count: Int
score: Int
last_activity_date: Int
creation_date: Int
question_id: Int
link: String
title: String
}
into this:
type Question @key (fields: "question_id") {
tags: [String]
owner: QuestionOwner
is_answered: Boolean
view_count: Int
answer_count: Int
score: Int
last_activity_date: Int
creation_date: Int
question_id: Int
link: String
title: String
}
Is this how it is supposed to work, if not what am I missing here?
The text was updated successfully, but these errors were encountered:
Hi @bwoody3142 !
We recently did a lot of improvements in Federation transform recently. I think this issue should be fixed as well. Closing this issue for now but we can reopen it if it still persists.
I was under the impression that the
federation
transform actually added apollo federation directives to a type, so if this was my.meshrc.yml
for the openapi-stackexchange example:With my assumptions on how this work I was assuming that this would transform the
Question
type from this:into this:
Is this how it is supposed to work, if not what am I missing here?
The text was updated successfully, but these errors were encountered: