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 more typeclass examples and test cases. #439

Open
micsza opened this issue Dec 5, 2022 · 0 comments
Open

Add more typeclass examples and test cases. #439

micsza opened this issue Dec 5, 2022 · 0 comments

Comments

@micsza
Copy link
Contributor

micsza commented Dec 5, 2022

There is quite a lot of type-class (aka TC) examples and their derivations in tests but how about adding few more? This could be a good warm-up for new-coming contributors as well as it could provide the users more documentary examples of how to use magnolia api to create their own derivations.

Walk-through for newcommers:
0. Choose your base branch (scala2 vs scala3).

  1. Browse through the existing TC examples, their derivations and test cases.
  2. Invent your own fancy TC and write its derivation.
  3. Add test cases using your TC.
  4. Optionally, repeat for the other branch.

TCs improving the existing api usage documentation and tests for non-covered cases would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant