j2inn / haystack-nclient

Project Haystack client network TypeScript library
BSD 3-Clause "New" or "Revised" License
11 stars 4 forks source link

Add ops URL template #1

Closed garethj2 closed 3 years ago

garethj2 commented 3 years ago

It's great the Client object is opionated about the URLs it connects too. However it needs some added flexibility around the base URL to use with ops.

For example, it's perfectly reasonable to have an ops URL as https://localhost/haystack/ops with no project reference.

This is a breaking change that accomodates this flexibility.