Skip to content

How to use .prefix with contract first development? #550

Answered by unnoq
valerii15298 asked this question in Q&A
Discussion options

You must be logged in to vote

Almost the same as the link you mentioned, just with .router after that:

const userRouter = os.prefix('/users').router({
  get: getUsersContract,
})

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@zacharyhansen
Comment options

@unnoq
Comment options

@am-hades
Comment options

@unnoq
Comment options

Answer selected by valerii15298
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants