Typed Explorer Step 8: Stop Repeating Yourself

Search your Explorer's types for two that are near-copies of each other and replace the copy with a derived type. Look especially for a create or update shape that repeats a model minus one field. Then find any place you have written out a set of allowed strings twice, once as a type and once as an array, and derive one from the other so they cannot disagree.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 9: Untrusted Data →