Skip to content

Conversation

@pgurusinga
Copy link
Member

@pgurusinga pgurusinga commented Jan 29, 2026

Add optional case type parameter to court finder functions

Pre-work for TGA "Fallkonzentrierung"

Summary

  • Added optional angelegenheitInfo parameter to courtForPlz, edgeCasesForPlz, edgeCaseStreets, and findCourt with default value
  • Introduced centralized ANGELEGENHEIT_INFO constants (4 case types: Prozesskostenhilfe, Urheberrecht, Verkehrsordnungswidrigkeiten, Nachlasssachen)
  • Derived AngelegenheitInfo type from const values (zero duplication)
  • Default value: ANGELEGENHEIT_INFO.PROZESSKOSTENHILFE (maintains current behavior)

Rationale

Prepares infrastructure for supporting multiple case types while maintaining backward compatibility. Current implementation defaults to "Prozesskostenhilfe eingehend" but enables future features to specify different case types explicitly.

Copy link
Contributor

@aaschlote aaschlote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants