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

Fixed Webpack/AMD support #72

Closed
wants to merge 3 commits into from
Closed

Fixed Webpack/AMD support #72

wants to merge 3 commits into from

Conversation

rkaw92
Copy link

@rkaw92 rkaw92 commented May 12, 2016

This change makes it possible to use rql with webpack. It adds a dependency on amdefine to package.json to avoid implementing the shims manually in every file. Tested under Node 6.0 and Webpack 1.13.0.
Fixes #69 .

@rkaw92
Copy link
Author

rkaw92 commented May 18, 2016

Could a maintainer please suggest what is wrong with the pull request? The CI build has failed, but I'm having trouble deciphering the output. Unit tests (npm test) seem to check out.

This change enables converting values containing special characters, such as the percent sign (%), to strings, by always encoding values for which the check if encoding is actually necessary has failed.
For values containing URI escape characters, the check throws an error (because they are not decodable), but we still need to encode them.

Fixes persvr#75
This also includes a refactoring of the query module's `encodeValue` function for clarity and easier modification later, if necessary. Comments included.

For persvr#76
@rkaw92 rkaw92 closed this Mar 18, 2022
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.

Webpack compalibility
1 participant