44c90d0efc
dataloader - set maxBatch to 200 and wait to 2 milliseconds
2021-05-10 23:15:55 +02:00
6a44193f31
slices - use nil declaration
2021-05-05 19:58:45 +02:00
0a271d1255
bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/map-generator
2021-05-05 19:32:45 +02:00
1a63e5fa91
add the 'Select' option to the FetchConfigs
2021-03-21 13:03:39 +01:00
95dbbc4d8a
rename utils.SanitizeSortExpressions -> utils.SanitizeSorts, add query complexity limit
2021-03-20 18:13:45 +01:00
3da7346f2a
middleware.LimitWhitelist parses normal ip addresses as well as CIDR notation
2021-02-06 12:34:08 +01:00
01fdd80f7f
[WIP] - refactor limit, sort, offset
...
- rename middleware.MayExceedLimit to CanExceedLimit
- update the DailyTribeStats/DailyPlayerStats repository and usecase
- rename utils.SanitizeSort to utils.SanitizeSortExpression
- add two new utils - SanitizeSortExpressions and FindStringWithPrefix
2020-11-21 09:13:25 +01:00
00f824e706
bump github.com/tribalwarshelp/shared
2020-11-06 20:23:12 +01:00
73390475fc
add LimitWhitelist middleware
2020-08-09 14:32:46 +02:00
7d2f75db52
dataloaders_to_context shouldn't cache servers, instead it should fetch only two columns from database: lang_version_tag and key
2020-08-07 10:09:45 +02:00
68848a783c
middleware/dataloaders_to_context should cache servers
2020-07-28 12:52:08 +02:00
87562c3f4c
every date which API returns are in UTC timezone, resolver Player.Servers() is returning now servers from one specific game lang version, refactor
2020-06-24 15:05:31 +02:00
be52ae19c9
add langversionloader, update dataloaders_to_context middleware, add to server graphql type LangVersion field
2020-06-18 16:44:02 +02:00
0ece3a49cf
change error messages, unexport DataloadersContextKey
2020-06-18 13:06:55 +02:00
3bffcfa0d3
init
2020-06-02 17:45:21 +02:00