Can type extensions be setup in code? #4372
Unanswered
BaileyMillerSSI
asked this question in
Q&A
Replies: 1 comment
-
Depends on your approach ... if you do it in the gateway then yes. With V13 we are bringing this capability to the downstream services so that you have a full code-first experience for stitching. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background:
I was playing around with stitching today and think that it could be a powerful feature to help build out a micro-graph service.
In one of the examples, I setup I have a user graph and an address graph and then a gateway to tie that together.
From what I understand the only way to add extended properties is use
AddTypeExtensionsFromFile
with the extended properties file.Question:
Is it possible now or in the future to add type extension on a class? Currently I had to do something like this:
on my gateway server.
However, it would be much nicer if this type of extension could be performed in code.
The gateway wouldn't need to know the User class or the Address class but could in code setup the extended properties.
Beta Was this translation helpful? Give feedback.
All reactions