Implement a builder API for Session #48
Labels
C-enhancement
Category: an issue proposing an enhancement or a PR with one
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
P-medium
Medium priority
S-needs-design
Status: this issue requires design work to think about how it would best be accomplished
Describe the feature
We want to improve the API for usage as a library
Implement
Session::builder() -> SessionBuilder
that has setters for the Session fields + methods for modifyingsource_map
anddcx
Also add
Session::enter()
that doesinterface::enter
+SessionGlobals::with_source_map
Additional context
No response
The text was updated successfully, but these errors were encountered: