Skip to content

Create a Util to Print Routes #1

@bitmage

Description

@bitmage

Let's create a util to print out what routes have been registered. It's not always obvious from the routes config. Also, ideally we will be able to determine which routes are actually resolving to services.

What if makeAdapter returned an object including the keys:

router
printRoutes

printRoutes would be a function returning JSON. Then the consumer of law-connect could decide what to do with that. In our Axiom standardization, we can add the actual script that dumps the configuration out to the console.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions