You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(api): adapt floating rate form to generated request types - #449
remove the deleted FloatingRateRequest dependency from the floating-rate form
derive create and update payload types from the generated service methods
keep the form state non-nullable and reject incomplete rate-period rows before submission
Apache Fineract's generated client now exposes separate request models for creating and updating
floating rates. This change keeps the consumer compatible with the current client and with the
model changes introduced by #447, without hand-editing generated files.
Validation
npm ci
npm run format:check
npm run lint
npm run api:surface
npm run verify-api-client
npm run build
npm test -- --watch=false --browsers=ChromeHeadless --include=src/app/features/products/floating-rates/floating-rate-form.component.spec.ts
The build reports the repository's existing header component style-budget warning. The focused
Karma run passes all 3 tests. The full Vitest command is currently environment-sensitive under
Node 26 because its file-backed localStorage database is shared by parallel workers; with the
workaround, 745 of 746 tests pass and the remaining failure is the SQLite lock in an unrelated
navigation test.
1 of 1 commit is not showing as Verified on GitHub, so this pull request cannot be merged into main yet.
unsigned
These commits carry no signature at all.
abb8d0fa fix(api): adapt floating rate form to generated request types
How to fix: Set up commit signing, then re-sign the commits already on this branch. CONTRIBUTING.md has the setup.
Re-signing
# only for the identity reasons above (no_user / unverified_email):
git config user.email "[email protected]"# re-sign every commit on this branch:
git rebase --exec 'git commit --amend --no-edit --reset-author -S' origin/main
git push --force-with-lease
Force-pushing is expected here — re-signing rewrites the commits, so their hashes change.
This comment is posted automatically and updates itself when you push; it disappears once every commit verifies. If you believe this is wrong, say so on the pull request — a maintainer can check.
1 of 1 commit is not showing as Verified on GitHub, so this pull request cannot be merged into main yet.
unsigned
These commits carry no signature at all.
abb8d0fa fix(api): adapt floating rate form to generated request types
How to fix: Set up commit signing, then re-sign the commits already on this branch. CONTRIBUTING.md has the setup.
Re-signing
# only for the identity reasons above (no_user / unverified_email):
git config user.email "[email protected]"# re-sign every commit on this branch:
git rebase --exec 'git commit --amend --no-edit --reset-author -S' origin/main
git push --force-with-lease
Force-pushing is expected here — re-signing rewrites the commits, so their hashes change.
This comment is posted automatically and updates itself when you push; it disappears once every commit verifies. If you believe this is wrong, say so on the pull request — a maintainer can check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FloatingRateRequestdependency from the floating-rate formApache Fineract's generated client now exposes separate request models for creating and updating
floating rates. This change keeps the consumer compatible with the current client and with the
model changes introduced by #447, without hand-editing generated files.
Validation
npm cinpm run format:checknpm run lintnpm run api:surfacenpm run verify-api-clientnpm run buildnpm test -- --watch=false --browsers=ChromeHeadless --include=src/app/features/products/floating-rates/floating-rate-form.component.spec.tsnpm run buildon a temporary worktree containing the generated client from chore(api): sync the Fineract OpenAPI spec #447The build reports the repository's existing header component style-budget warning. The focused
Karma run passes all 3 tests. The full Vitest command is currently environment-sensitive under
Node 26 because its file-backed
localStoragedatabase is shared by parallel workers; with theworkaround, 745 of 746 tests pass and the remaining failure is the SQLite lock in an unrelated
navigation test.
Fixes #448
OpenAI Codex (GPT-5) on behalf of Weihao Xuan (Whxuan0701)