Melchy/Ridge

Support for internal controllers

Opened this issue · 1 comments

Internal constructors are currently not supported. Ridge fails with "action not found error".

Internal controllers and internal actions can also use internal objects. If internal constructor or internal action uses internal object then ridge generates client with public methods in public class that use internal object. This causes build to fail.

Proposed solution

  • Ridge must be able to generate client for internal class.
  • When controller is internal ridge should generate internal client.
  • When action is internal ridge should generate internal client method.
Netlia commented

After further investigation it seems that asp.net core does not support internal class and internal actions.

Ridge should not try to generate methods for internal classes and actions.