bcgov / cas-reporting

This is for the Clean Growth Digital Services team for work related to reporting.
Apache License 2.0
0 stars 0 forks source link

Build API form generator service #256

Open dleard opened 1 month ago

dleard commented 1 month ago

Blocked on #270

Once the work in #254 is complete & we have the database structures needed to support dynamic form generation from configs, we can build the API endpoint/service that will build these forms dynamically on request.

As a developer I want an API route/service for form generation So that when it is called from an emission form it returns a generated schema

As a developer When I call the API route with the general stationary combustion activity/source types It returns the correctly generated forms for those inputs

AC:

dleard commented 1 week ago

Pulling this out of 'in progress' for now in favour of #270 as our understanding of what is required to build the forms has changed. Once #270 is in, some of the work already done here will provide the basis for building the form generator service in a way that is modified to handle the new database models. @pbastia @patriciarussellCAS