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 support for multiple levels of embedded Resource Objects #74

Open
kranjcec opened this issue Jan 15, 2016 · 2 comments
Open

Add support for multiple levels of embedded Resource Objects #74

kranjcec opened this issue Jan 15, 2016 · 2 comments

Comments

@kranjcec
Copy link

HAL browser ignores second level _embedded properties in this example:

{  
   "abc":0,
   "_links":{  
      "self":{  
         "href":"/link/1"
      }
   },
   "_embedded":{  
      "level1":{  
         "def":1,
         "_links":{  
            "self":{  
               "href":"/link/2"
            }
         },
         "_embedded":{  
            "level2":{  
               "xyz":2,
               "_links":{  
                  "self":{  
                     "href":"/link/3"
                  }
               }
            }
         }
      }
   }
}
@kranjcec
Copy link
Author

kranjcec commented Feb 5, 2016

Is this JSON valid HAL? See https://twitter.com/_danmessenger/status/488979314508308480.

Is this request valid?

@kranjcec
Copy link
Author

kranjcec commented Jul 6, 2016

There is a PR #73 which will solve this issue.

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

No branches or pull requests

1 participant