Replies: 1 comment
-
Related issues for deprecation: #1447 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
#1438 를 작업하다 든 생각입니다. — @U-lis
NineChronicles.Headless
에서는StoreType.cs
에서 store type 을 Enum 으로 정의하고,Tip
,Inspect
command에서 사용하고 있습니다Libplanet.Headless
에서는 store type 을 사용자 입력값 그대로 문자열로 받아 이에 따라LoadStore
로직을 구분합니다. (NineChronicles.Headless/Libplanet.Headless/Hosting/LibplanetNodeService.cs
Lines 291 to 294 in e97ec44
String
을 사용하는 것일 수 있다는 의견을 주셨습니다.다른 분들의 의견이나, 이 부분에 대해 제가 고려하지 못하고 있는 history 등이 있다면 말씀 부탁드립니다.
(IStore, IStateStore)
from URI libplanet#1955그럴 때마다 “
--store-path
옵션은--store-type
이rocksdb
이거나file
일 때만 쓸 수 있음”, “--store-host
및--store-port
옵션은--store-type
이mysql
일 때만 쓸 수 있음”과 같은 단서를 추가하면서--store-*
옵션을 늘리는 것보다는--store-uri
같은 하나의 옵션으로 받을 수 있게 하는 쪽이 더 좋지 않을까요?memory:///
로 쓰는 것을 자주 보았습니다.Beta Was this translation helpful? Give feedback.
All reactions