Skip to content

Conversation

@KrzysFR
Copy link
Contributor

@KrzysFR KrzysFR commented Apr 25, 2018

Add a reference to System.ValueTuple v4.4, and start exposing them in the core API, cf Issue #70

  • Interop with ITuple and Stuple<T...>
  • Supported by TuPack(...)
  • Supported by IKeySubspace implementations
  • Update internal API to use ValueTuple in preference of older types
  • Expose more overloads that take ValueTuples directly

KrzysFR added 4 commits April 25, 2018 18:10
- Add overloads that take ValueTuple<...> to most IKeySubspaces implementations
- Add quick indexers on typed keyspace that take either the items, or a value tuple
KrzysFR added 9 commits April 26, 2018 11:33
- Makes it easier to go back and forth between encoders and encoding
…c encodings

- Most 'encoding' arguments are optional and will default to TypeSystem.Tuples if null
- Copying existing subspaces will try to reuse the original encoding
- Added a lot of overloads that use ValueTuples natively
- Cleaned up some paths to TupleEncoder, and it will always require a prefix (can be empty)
@KrzysFR
Copy link
Contributor Author

KrzysFR commented Apr 26, 2018

Included more changes to the core key and subspace API to better use tuples, and decouple them from the Tuple Encoding itself.

@KrzysFR KrzysFR merged commit f22e9ce into master Apr 26, 2018
@KrzysFR KrzysFR deleted the dev/valuetuples branch October 25, 2018 19:36
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.

2 participants