Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vincentKool/JavaTutorial2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: vincentKool/JavaTutorial2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: Challenge-E06
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Aug 11, 2016

  1. Challenges bij Tutorial 6

    Zelf ben ik niet tevreden over de oplossing van de advanced challenge, Voor de advanced challenge zou ik graag een validator willen hebben / maken die te hergebruiken is bij andere (toekomstige methods). En dan eigenlijk een validator die de argument van de method (in dit geval addProduct) controleert voordat de method uitgevoerd wordt.
    
    Mij huidige oplossing is een null check in de addProduct method en een extra exceptionHandler in de ExceptionHandlingControllerAdvice Class
    
    ===
    
    Tutorial 6: De API uitbreiden
    
    Nu al onze data uit een echte database komt, gaan we kijken hoe we zelf nieuwe data kunnen toevoegen via de API. We kijken hiervoor naar de HTTP POST methode, hoe we deze kunnen testen met Postman en hoe we data kunnen valideren die de gebruiker invoert.
    
    https://tweakers.net/advertorials/onlinejavaacademy2/tutorial6/
    vincentKool committed Aug 11, 2016
    Configuration menu
    Copy the full SHA
    e00723e View commit details
    Browse the repository at this point in the history
Loading