lhs icon indicating copy to clipboard operation
lhs copied to clipboard

⚛️ REST services accelerator: Rails gem providing an easy, active-record-like interface for http (hypermedia) json services

Results 48 lhs issues
Sort by recently updated
recently updated
newest added

Hello, guys! I need to change the format of request for a unformatted request, like said here in LHC: https://github.com/local-ch/LHC#unformatted-requests So I need to make a request like: ```ruby headers...

When LHS is used to access a text attribute that starts with a date or datetime, it converts the initial date ignoring everything else. Sample json: ```json [ { "id":...

Hi, I encountered an issue when I upgrade our app to Rails 6 with Zeitwerk mode enabled. On startup I get a deprecation warning: ``` DEPRECATION WARNING: Initialization autoloaded the...

https://github.com/local-ch/lhs/blob/95c5d22e87bcd06186ade3b8bf9218a6e63d0e27/lib/lhs/data.rb#L93-L95 Should read ```ruby def method_missing(name, *args, **kwargs, &block) _proxy.send(name, *args, **kwargs, &block) end ```

When we have following structure: ```json { "href": "http://api.test/localch-accounts/p62qM5p0NK_qryO52Ze", "id": "p62qM5p0NK_qryO52Ze", ... "language": "de", "created_date": "2015-06-30T09:54:59.858+02:00", "claims": { "href": "http://api.test/localch-accounts/p62qM5p0NK_qryO52Ze/claims", "items": [ { "href": "http://api.test/localch-accounts/p62qM5p0NK_qryO52Ze/claims/A00OhenWd_Z5RWnxDE7mqA", "localch_account": { "href": "http://api.test/localch-accounts/p62qM5p0NK_qryO52Ze" },...

In our app we are working with following user (localch-accounts) resource: ```json { "href": "http://api.test/localch-accounts/p62qM5p0NK_qryO52Ze", "id": "p62qM5p0NK_qryO52Ze", ... "language": "de", "created_date": "2015-06-30T09:54:59.858+02:00", "claims": { "href": "http://api.test/localch-accounts/p62qM5p0NK_qryO52Ze/claims", "items": [ { "href":...

## Problem In our applications we've established this pattern of creating a concern that allows the controller to override includes. This works well in the context of controllers. If, for...

To allow people to easily replace all of those api clients with LHS. Examples: - Github / Octokit

From output it's not clear that this is an array because of line breaks: ``` (byebug) bundle_price.bundle > bundle {:product=>{:href=>"*****"}, :options=>[], :bundle=>[], :base_price_in_cents=>19500, :total_price_in_cents=>19500, :details=>{:samba_sales_unit_code=>"LCLG"}} {:product=>{:href=>"*****"}, :options=>[{:categories=>[], :type=>"CATEGORY_REACH_EXTENSION", :price_in_cents=>0}, {:directory_cities=>[{:href=>"*****"}],...