ChilliCream / ChilliCream/graphql-platform

Add DirectiveType, InterfaceType, DiagnosticEventListener, TypeInterceptor source generation

Open
#5,829 1 comment 1 reaction 1 assignee View on GitHub

@michaelstaib is already working on this.

Since Apr 12, 2024.

🌶️ hot chocolate Area: AOT
Dominant language
C#
Stars
5.8k
Forks
810
Avg merge
15h 39m
Merged PRs (30d)
98

Description

Product

Hot Chocolate

Is your feature request related to a problem?

Hello, I recently started playing with the source generator and it's quite amazing as it reduce a lot the amount of registration for custom code.
Unfortunately I haven't been able to cut this down to 0.

The solution you'd like

Something that would be nice having as part of the generator would be adding implementation types for "InterfaceType" and "DirectiveType" automatically.
The only other custom code registration I had to do were DiagnosticEventListener and TypeInterceptor. It's unlikely anybody have a massive amount of those but having them source generated may be a good addition too.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.