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

add documentation #14

Merged
merged 3 commits into from
Jul 8, 2018
Merged

add documentation #14

merged 3 commits into from
Jul 8, 2018

Conversation

ferozco
Copy link
Contributor

@ferozco ferozco commented Jul 4, 2018

Before this PR

Very little documentation

After this PR

Fleshed out README and CONTRIBUTING documents

README.md Outdated

__Browser compatibility__: This library uses ES6 features (namely, fetch). Ensure that your runtime environment supports ES6 features.
conjure-typescript-client leverages [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) to provide a
simple interface for making HTTP requests. Its intended usage is as a conveniences library to simplify code generated by
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we change the intended usage bit pls - don't really like the implication that the conjure-typescript generated code needs simplifying!!

README.md Outdated
}
})

bridge.callEndpoint({
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a little comment to say conjure-typescript generates this code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think we want that. This is a standalone library, and we're describing how to use it as such.

@@ -6,7 +6,7 @@
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"build": "npm-run-all clean lint compile",
"build": "npm-run-all clean lint compile test",
Copy link
Contributor

Choose a reason for hiding this comment

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

😂

@iamdanfox iamdanfox merged commit 0e44e15 into develop Jul 8, 2018
@iamdanfox iamdanfox deleted the fo/docs branch July 12, 2018 01:14
bavardage pushed a commit to bavardage/conjure-typescript-runtime that referenced this pull request Jul 24, 2019
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