Skip to content

rename api fns#679

Merged
dpetran merged 7 commits intomainfrom
task/rename-api-fns
Nov 14, 2023
Merged

rename api fns#679
dpetran merged 7 commits intomainfrom
task/rename-api-fns

Conversation

@dpetran
Copy link
Contributor

@dpetran dpetran commented Nov 14, 2023

This removes dead code and renames the top-level api functions:

stage2 -> stage
transact!2 -> transact!
create-with-txn2 -> create-with-txn

Also propagates the api changes to our js tests, fixing #666

Currently based on #674, so that needs to be merged first.

First we extract whatever context the user supplied, then we clobber it to expand our
top-level document. We still have to jump through some hoops to remove the fluree
context if it is supplied, but we won't have to do that anymore once we remove the
default context.
@dpetran dpetran requested a review from a team November 14, 2023 19:33
Copy link
Contributor

@zonotope zonotope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌳

@dpetran dpetran merged commit a7ec8bb into main Nov 14, 2023
@dpetran dpetran deleted the task/rename-api-fns branch November 14, 2023 20:53
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