Closed Victor-Linares closed 1 year ago
I will have a look.
@Victor-Linares, New version v3.1.0-preview.1 has initial support for Graphql interfaces. Now It will generate interfaces and add them to appropriate classes. The syntax for query interfaces like that is not supported yet. I am wondering how to support it.
query {
users: {
... on IAdmin {
canDeleteUsers
}
}
}
Check out v3.2.0-preview.1 for full interface support. Examples can be found here
Have you had a chance to look at it?
Hi Stanislav,
Really appreciate your quick response on this. I will take a look into it in the next few days and let you know about the results.
Thank you
Vitor Linares Lead Azure & Dynamics Architect
Group - Strategy & Solutions
M: +55 11 96388-0095 @.***
www.ctplc.com
From: Stanislav Silin @.> Sent: Tuesday, December 13, 2022 5:14:07 AM To: byme8/ZeroQL @.> Cc: Vitor Linares @.>; Mention @.> Subject: Re: [byme8/ZeroQL] Code Generation not generating C# code for GraphQL interfaces (Issue #19)
This email originated from outside the organization. Do not click links or open attachments unless you have verified this email is legitimate.
Have you had a chance to look at it?
— Reply to this email directly, view it on GitHubhttps://github.com/byme8/ZeroQL/issues/19#issuecomment-1347905980, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4MMLP2XWCACZDRQRT7YTTTWNAV47ANCNFSM6AAAAAASLTRLKE. You are receiving this because you were mentioned.Message ID: @.***>
Charles Taylor Limited is registered in England (Company No.03194476). Registered office: The Minster Building, 21 Mincing Lane, London EC3R 7AG. VAT Registration No. GB577566485.
This email (including all attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you must not copy it, re-transmit it, use it or disclose its contents to anyone else. If you have received it in error, please notify the sender immediately and delete your copy from your system.
We monitor the content of emails sent and received via our network for viruses and unauthorised use, we recommend that you should also check messages for viruses in accordance with good computing practice. Emails sent to or from our systems are not confidential to any named individual and we reserve the right to read them without prior notice.
Our Fair Processing Notice can be viewed by visiting: www.charlestaylor.com/en/legal-statements/fair-processing/.
I'm trying to use ZeroQL to generate a C# client for a graphql schema that implements interfaces for some types and the interfaces are being ignored during the code generation. For instance, the graphql snippet below does not generates any code.