Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Throw exception or provide info message when route's component is null #2038
Comments
for anybody picking this up: make sure to check it only in dev mode |
I will try to implement this the next week if nobody would be faster than me |
There's already a pr |
Note to myself, this could be solved through typings |
What problem does this feature solve?
Currently, route's component can be null and it give no information and error. Provide information or raising error can help users to catch they have some import issues when they use
So if
components.CreateEditAccounts
is null, they will know what went wrong easier.What does the proposed API look like?
Raise error when component is null or log info message.