Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: comment feature #60

Merged
merged 5 commits into from
Apr 10, 2023
Merged

add: comment feature #60

merged 5 commits into from
Apr 10, 2023

Conversation

hedwiggggg
Copy link
Contributor

@hedwiggggg hedwiggggg commented Apr 7, 2023

I wanted to work with schemix and prisma-nestjs-graphql, saw the corresponding issue#55 and decided to implement this functionality.

If you have any suggestions, feel free to review the code. I am happy to help and adjust the pull request if needed.

Thanks for the great project and Happy Easter!

@hedwiggggg
Copy link
Contributor Author

Using this I noticed two things:

  • adding a comment to a mixin-model should inherit the comments
  • All FieldOptions except BooleanFieldOptions form a union type with DefaultFieldOptions. Is this intentional or a bug?

@ridafkih
Copy link
Owner

ridafkih commented Apr 7, 2023

I really like your approach to this. Will check it later and merge it in if all looks well!

@ridafkih
Copy link
Owner

ridafkih commented Apr 7, 2023

All FieldOptions except BooleanFieldOptions form a union type with DefaultFieldOptions. Is this intentional or a bug?

This is a bug, let's get this fixed!

- revert `CommentsOnFieldOptions`
- add `DefaultFieldOptions` to `BooleanFieldOptions`
@ridafkih ridafkih merged commit 3dcf159 into ridafkih:main Apr 10, 2023
@ridafkih ridafkih mentioned this pull request Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants