bcgov / bcgov/entity

Legal-API: externalize reports to replace multiple methods with a single method

Open
#4,335 1 comment 0 reactions 0 assignees View on GitHub
ENTITY - DO NOT USE Priority2 techdebt
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

In legal-api/src/legal_api/services/document_meta.py, there are multiple methods to handle multiple filings types. However, these methods are basically doing the same thing with different values. Therefore, it would be better to externalize the reports available for each filing and status (into, say, a JSON file) and to use a single method to replace the existing code.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.