Skip to content

Align backend (BE) and frontend (FE) validation for initially launched filings #29804

Closed
47 of 47 issues completed
Closed

Description

@OlgaPotiagalova

This epic aims to align backend and frontend validation logic for enabled features to ensure a consistent and predictable user experience during API user onboarding. By unifying validation rules, we reduce the risk of mismatches between the UI and API behavior, simplify troubleshooting, and provide clearer feedback to users. This alignment is a critical step toward streamlining and scaling the onboarding process for the API users (Group 2 onboarding).

For anything involving data validation and business logic, the solution should primarily be backend/API-driven, with the front-end acting as a supportive layer (e.g. for UX).

Priority : Validation logic for the features that are enabled in Prod.

Notes:
This work started as part of Sandbox development - see tickets in https://app.zenhub.com/workspaces/entities---olga-65af15f59e89f5043c2911f7/issues/gh/bcgov/entity/27848

See Detailed analysis worksheet from Sandbox:
https://docs.google.com/spreadsheets/d/1N5zs291nvPpHbGCxJS9jmxX3yoUyG_mi-906j-_TuHo/edit?gid=377655930#gid=377655930

New spreadsheet to track Analysis by Filing:
https://docs.google.com/spreadsheets/d/1qhe_lkBQyiiNKBBdPxM5v5Ub6lGuBK1QrC33yJRnV3U/edit?usp=sharing

Tasks:

Filings:
Core public facing filings and features already enabled in Production (AR, Change of Directors, Change of Address, Incorporation Application, Alteration)

Risks if not addressed/implemented:
• Data Integrity issues - Inconsistent validation rules can lead to invalid or partial data being accepted by the backend resulting in invalid filings, and impacting downstream services or reports .
• Increased support load – possible rise in IT OPS tickets
• Security risks - increases the attack surface for malicious inputs
• Integration issues for API clients – they may have to guess the correct format or write extra logic to handle edge cases

Sub-issues

Sub-issues

47 of 47 Issues completed
Loading 47 sub-issues

Activity

  1. added
    Entities Team
    on Jul 28, 2025
  2. severinbeauvais commented on Jul 30, 2025

    @severinbeauvais
    Collaborator

    -> Consider the UI as the "source of truth" for validations.

  3. severinbeauvais commented on Jul 30, 2025

    @severinbeauvais
    Collaborator

    Assigned to Megan per discussion with Olga.

    This is an epic. Tickets will need to be created.

    A hand-over from Eason and Aimee will need to be done first to see what they've already done and what's left.

  4. 43 remaining items

  5. changed the title [-]Align backend (BE) and frontend (FE) validation for enabled features.[/-] [+]Align backend (BE) and frontend (FE) validation for initially launched filings[/+] on Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities Team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions