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
if an interface is deleted from a version, when i call mutateSubgraph with this version's mutator for this interface, what should i get? current behavior seems that i could get this interface, but with previous projection, i will get Intrinsic type. is it by design or a bug?
The text was updated successfully, but these errors were encountered:
hhm I guess I didn't expect you to use the mutator that way. In theory the mutator should have removed all reference to this interface vs with projection it would convert it to never and that would remove it.
You have to be careful when using mutateSubgraph as it does partial mutation(by design or everytime you'd do you'd be mutating the entire graph, this means things like namespace will not point to the new realm but the original, types that are not mutated as well will be the original and their parent will point back to the original). This means that for versioning you do want a full mutation and should just call mutateSubgraphWithNamespace on the service namespac to mutate everything
if an interface is deleted from a version, when i call
mutateSubgraph
with this version's mutator for this interface, what should i get? current behavior seems that i could get this interface, but with previous projection, i will getIntrinsic
type. is it by design or a bug?The text was updated successfully, but these errors were encountered: