Yrobot

Results 33 comments of Yrobot
trafficstars

Hope native settings sync will work in the future.

I think some part of ga-beacon is unusable now, such as UV. This is the ga-beacon server logs whan i refresh my repo homepage, you can see cid is different,...

> I think some part of ga-beacon is unusable now, such as UV. > This is the ga-beacon server logs whan i refresh my repo homepage, you can see cid...

So, if i want to the log middleware just run once in one query, what should i do?

> @Yrobot Use `@UseMiddleware` decorator to scope middleware to single query. > If by "one query" you mean one request, you need to use apollo server plugin or something similar....

Or we can add a Unout decorator in typegraphql-prisma. then the code will be like this. ```ts applyModelsEnhanceMap({ User: { fields: { password: [Unout()], }, }, }) ```

BTW, `typegraphql` and `typegraphql-prisma` are very nice. It helps me a lot, Thank you so much.

同求,API好像只支持游客上传

> 客户端估计一时半会儿开发不出来,最近增加了一个脚本上传:[使用油猴脚本(Tamper monkey)在任意网页上传图片](https://www.xiaoz.me/archives/11038) 目前图床client有好多,建议我们这边专注于server的逻辑就好了。 然后我目前配合的客户端是upic,支持配置post请求上传剪切板图片。搭配imgurl很香。 https://github.com/gee1k/uPic