vlang / gitly

Light and fast GitHub/GitLab alternative written in V
GNU General Public License v3.0
1.37k stars 72 forks source link

Gitly with error in Github Codespaces #232

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi everyone.

I was trying to use gitly in codespaces and got this error.

src/gitly.v:234:1: notice: generic method routes of vweb will be skipped
  232 | }
  233 | 
  234 | fn (mut app App) json_success[T](result T) vweb.Result {
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235 |     response := api.ApiSuccessResponse[T]{
  236 |         success: true
src/gitly.v:234:1: notice: generic method routes of vweb will be skipped
  232 | }
  233 | 
  234 | fn (mut app App) json_success[T](result T) vweb.Result {
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235 |     response := api.ApiSuccessResponse[T]{
  236 |         success: true
src/gitly.v:234:1: notice: generic method routes of vweb will be skipped
  232 | }
  233 | 
  234 | fn (mut app App) json_success[T](result T) vweb.Result {
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235 |     response := api.ApiSuccessResponse[T]{
  236 |         success: true
Delta456 commented 1 year ago

These are not errors but notice.

ghost commented 1 year ago

Hi Delta456, but not works gitly with these errors :(

So... How can I resolve this bug?