Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 30 20:45
    alfonmga commented #524
  • Nov 30 20:45
    alfonmga commented #524
  • Nov 28 04:12
    sphong5911 opened #525
  • Nov 23 19:10
    shurmanidze opened #524
  • Nov 20 08:47
    doghappy commented #491
  • Nov 20 08:46
    doghappy commented #491
  • Nov 14 08:01
    JesperBalslev commented #523
  • Nov 13 08:19
    JesperBalslev opened #523
  • Nov 08 18:02
    nrcmkoh closed #522
  • Nov 08 18:02
    nrcmkoh commented #522
  • Nov 08 00:35
    nrcmkoh opened #522
  • Nov 07 11:38
    drdreo commented #519
  • Nov 06 20:03
    naataaniitsosie commented #492
  • Nov 06 20:02
    naataaniitsosie commented #492
  • Nov 06 17:20

    jotamorais on master

    Fixed typo in CHANGELOG > `Exp… Merge pull request #521 from sl… (compare)

  • Nov 06 17:20
    jotamorais closed #521
  • Nov 05 15:47
    slavafomin opened #521
  • Nov 05 03:31
    jotamorais assigned #518
  • Oct 31 13:20
    zfattuhi commented #67
  • Oct 31 13:19
    zfattuhi commented #67
Michał Lytek
@MichalLytek
the signature is https.createServer([options][, requestListener]) so you should pass app as a second argument
Tommy
@sjonky_gitlab
Yeah, but with createExpressServer(options?: RoutingControllersOptions): any; i only have "RoutingControllersOptions" which does not contain anything related to HTTPS
Michał Lytek
@MichalLytek
const app = createExpressServer(options)
const server = https.createServer(credentials, app)
server.listen(8080)
Tommy
@sjonky_gitlab
ah right :D thanks
Dimitar Danailov
@dimitardanailov

Hello guys,

I’m working on Microservices Solution and I must create a testing layer with Mocha.
I’m trying to understand: https://github.com/typestack/routing-controllers/blob/master/test/functional/json-controller-methods.spec.ts

I can’t undestand why file has: JsonUserController and this controller is never used ?

Héctor J. Vásquez
@IpiVasquez_gitlab
Hi. Just one question. Koa support has been dropped off?
Liang Xianghui
@Xhhhhhh
hello , I want to know if have any paper introduce principle of routing-controllers
Michael Yankelev
@FSM1
hi guys. I am having issues with the class-validator metadata but can't figure out how to solve it
because routing-controller has a dependency on an old version of class-validator
Peter Schrott
@peterschrott

Hi folks,
I am trying to use the @Transfrom()decoder from class-transformers in combination with routing-controllers to have automatic deserialization of JSON payload to TS class instances.
The thing is the 'transform-logic' in @Transform is not picked up. The function I am passing is not called at all. When I am testing it with plainToClass(Class, json) its working just fine.
Is this supposed to actually work and I just got my setup wrong?

Thanks for helping! Cheers

Peter Schrott
@peterschrott
@19majkel94 , maybe you can give me some insights about that? I am quite lost :/
kunokdev
@kunokdev
If anyone is working with this repo feel free to email me directly, I plan to fix some Koa drivier issues
would be happy to pull your fixes as well :))
stingers
@stingers
hello, I'm try to send the jwt token to my frontend app. but no way. someone can look and say me if the following code(on the screenshot) is correct. thanks
Capture d’écran 2019-05-04 à 01.42.31.png
stingers
@stingers
routing-controllers can not update my routes on change still use the old route. Need help
Vít Dolínek
@Shigatora
Hi, can someone here help me with routing? :)
Saulo S. Toledo
@saulotoledo
Hi. Is the project active? I did not understand this> typestack/routing-controllers#504
Jonathas Morais
@jotamorais

Hello everybody,

First of all, I'd like to thank @pleerock, @NoNameProvided, @MichalLytek and so many others that contributed (and still contribute) to this awesome project.
After a huge hiatus, I think now we have enough engagement to keep this project alive - I've been granted access and will be able to contribute (and to review and accept everybody's contribution).

I'd like to call the community for help on ideas to prioritize, better manage communication and expectations.

I think it's paramount that we focus on the open PRs and issues and bring the project to a "stable" release as soon as possible. From there, we will then be able to plan and work to add features and keep on a more steady pace for the bug fixes.

Thank you and welcome again :)

Nico Schunke
@nico-schunke
:+1:
Nico Schunke
@nico-schunke
I am currently using this build: "@gritcode/routing-controllers": "^0.7.9" as it solves the bug from here: typestack/routing-controllers#384 - there is a PR for that as well (thanks to @adenhertog)
Jonathas Morais
@jotamorais
That's something that should be fixed in the https://github.com/typestack/routing-controllers/releases/tag/0.8.0 as class-transformer and class-validator are now peer dependencies and you can change its versions as you feel fit
Jonathas Morais
@jotamorais
Version 0.8.0 is now published in NPM
please, help with tests and feedback
Matt Morgan
@elthrasher
:thumbsup: It's looking pretty good to me so far.
Jonathas Morais
@jotamorais

Great.

I think I'm having issues with routing-controllers-openapi but I'm yet to confirm as it's still not clear whether it's something with my code or the changes on routing-controllers v.0.8.0

Matt Morgan
@elthrasher
Ah, I'm not using that. I have my own actually.
Always meant to publish it, but never had time to clean it up properly and then that guy beat me to it.
Pretty sure mine is working though.
Will check it.
Yeah, seems okay to me.
Jonathas Morais
@jotamorais
Good stuff. Mine is probably bad config on my side
wallopthecat
@wallopthecat
Thanks for picking up the project to maintain - excited to see movement again.

typestack/routing-controllers#492 - anyone experienced with the project know how to register custom middleware right before controller action, but after authorization/currentUser checkers?

@UseBefore is registering custom middleware before checkers, so we have no context to req.user for example

Matt Morgan
@elthrasher
Not sure anybody has an answer right now. Somebody will need to pop the hood and root around for some solution.
Arkadiusz Sygulski
@Aareksio
@jotamorais Could you please create and pin an issue about resurrecting the project - I'm pretty sure a lot of people would want to know and will miss it otherwise. As for routing-controllers-openapi, a co-worker made a fork recently for our internal use, to my knowledge it's extended to handle custom types from typeorm as well - https://github.com/Pravv/typestack-openapi. While I cannot vouch for the code quality, it may suit your needs.
Also a personal thanks for taking up the task of keeping this project afloat, even though unmaintained for long time, in my opinion it's still the best solution for those not wanting to use Nest
wallopthecat
@wallopthecat
Thanks
Tim
@enko

hey folks, nice to see some movement, out of frustration I started my own fork some time ago at https://github.com/flyacts/routing-controllers

One feature I needed and implemented is the @FormField decorator for supporting multipart form field stuff. Will try to see if I find time to submit a pull request and will see what other features have lurked into my fork that I can contribute back.

Jonathas Morais
@jotamorais
@Aareksio Thanks for the suggestion. I was away for 2 weeks but I'm back and will continue working on PR and issues triage. I will pin an issue to make it visible and clearly communicate the current status of the project
@enko Thanks. It will be great if you could submit a PR - I've also had requests to implement something for multipart.
Michal Paukert
@michalpaukert
Hi, I have 2 questions
1) how should I implement some simple cache for specific controller
2) how to document controllers by swagger? I mean automatic from comments or something I do not want to write it manually
Matt Morgan
@elthrasher
Hey @michalpaukert you basically have to roll your own cache or use a library like this: https://github.com/rv-kip/express-redis-cache
There's no routing-controllers-ready cache that I'm aware of. I wrote my own decorator-based cache for my current employer, but it's proprietary. Maybe I'll open source something if I get around to it.
I also wrote my own swagger doc generator, which again is proprietary but fortunately you don't need to wait for me to open-source that.
Because others have had the same idea.
There are a few others.
Tim
@enko