FlowMVI icon indicating copy to clipboard operation
FlowMVI copied to clipboard

Abstract away file path creation in DefaultStoreConfiguration

Open coderabbitai[bot] opened this issue 1 year ago • 0 comments
trafficstars

In the file debugger/server/src/commonMain/kotlin/pro/respawn/flowmvi/debugger/server/arch/configuration/DefaultStoreConfiguration.kt, there is a TODO comment to abstract away the file path creation logic:

// TODO: Abstract away
path = File("states").apply { mkdirs() }.resolve(".json").absolutePath,

This abstraction will improve modularity and reusability of the code.

Related PR: //pull/96 Comment: //pull/96#discussion_r1755641491

Requested by: @Nek-12

coderabbitai[bot] avatar Sep 11 '24 21:09 coderabbitai[bot]