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

Slight modification to WebHost class #51

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stanislavstoyanov99
Copy link
Contributor

I have made a slight improvement of reflection code in WebHost class, which enables us for future exams and apps that will use the framework to use nullable primitive types such as double, decimal. The problem I encountered was hitted while doing the exam preparation of the course - we cannot use nullable double/decimal for price field. If we try to omit the field with price, for example, the MVC Framework crashes. The modification I have made enables to check in Controller for nullable types except string and process the error how we want.

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.

1 participant