StruckCroissant / Game-DB

Game-DB is a game database search engine deployed on Docker and powered by Java Spring Boot and AngularJS
GNU General Public License v3.0
1 stars 0 forks source link

all return optional #19

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

https://github.com/StruckCroissant/Game-DB/blob/ce0447eeb9492536f57bbcbf51c2c9ced1c1fabf/api/main/java/com/StruckCroissant/GameDB/game/GameDao.java#L8


package com.StruckCroissant.GameDB.game;

import com.StruckCroissant.GameDB.game.models.Game;

import java.util.List;

public interface GameDao{
    // TODO all return optional
    List<Game> selectAllGames();

    Game selectGameById(int id);
}