Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename js? opt -> :context-type [:string|:keyword] #375

Merged
merged 2 commits into from
Feb 9, 2023

Conversation

cap10morgan
Copy link
Contributor

Renames the :js? true opt to :context-type :string or "contextType": "string" for JSON. Also accepts :context-type :keyword which is still the default.

This is just my proposal for a better name for the js? opt. I'm happy to tweak the details.

Oh, also snuck in 15b4a49 which I have had lying around in local working dirs forever and just want to finally get onto main. Let me know if you'd rather I split it out.

Copy link
Contributor

@dpetran dpetran left a comment

Choose a reason for hiding this comment

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

It's definitely an improvement! 👍

@bplatz
Copy link
Contributor

bplatz commented Feb 9, 2023

This is a great improvement. Any other repos that need to be updated for this?

@cap10morgan
Copy link
Contributor Author

This is a great improvement. Any other repos that need to be updated for this?

I think fluree/http-api-gateway#19 is it.

@cap10morgan cap10morgan merged commit ded19f4 into main Feb 9, 2023
@cap10morgan cap10morgan deleted the task/rename-js-opt branch February 9, 2023 16:21
@cap10morgan cap10morgan linked an issue Feb 9, 2023 that may be closed by this pull request
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.

Rename :js? true opt
3 participants