bmlt-enabled / bmlt-api-explorer

https://explorer.bmlt.app/
1 stars 0 forks source link

Keep the hierarchy structure of service bodies #12

Closed dgershman closed 3 years ago

dgershman commented 3 years ago

The visual appearance of the service body hierarchy is very useful for understanding how things are organized.

GarrettWeinberg commented 3 years ago

@radius314 This is what im working on now. Im trying to figure out the logic of matching the returned parent_id to the id. Im assuming that ill need to separate it into multiple arrays. so loop through and get all parent_id, then when i map through the full array, match them up. If you have any insight on how to handle this logic, anything would be helpful.

GarrettWeinberg commented 3 years ago

I have the structure worked out. Needs to be applied to "included service bodies". Need to do a little cleaning up in the file structure and I also need to work out how to pass the value of the selected service bodies to the main output. Still a work in progress, but def making some progress.

GarrettWeinberg commented 3 years ago

This is fixed and working