Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Written by René Reifenrath

I am a software developer from germany. Blogging about programming and tech related topics. I ❤️ open source and privacy.

Responses (1)

Write a response

Why do I need to create a new Type?
As I already said: if I need that kind of functionality, I can do it with a dynamic.
Tell me one case from a real-world example, where I would use your approach over a dynamic.