Ward van Teijlingen

Results 32 comments of Ward van Teijlingen

Do you have a specific use case where the current system breaks down? I rather not add a formatter property to `Field`, because that would mean more configuration. I think...

A LinkedResourceCollection internally keeps that of what resources were added and removed. What is the problem you run into? Spine crashes because the `skills` variable is nil?

I think for default endpoints you can use a custom Query. If I recall correctly, this can be both a relative or absolute URL. ```swift let query = Query(url: URL(string:...

Hi Max! Thanks for your extensive writeup. I fully agree with you, I'd love to have `Resource` as a protocol. In fact, I've already tried numerous times to refactor it....

Can you post here the response from the server? > On 6 Dec 2016, at 13:07, jyoti jangir wrote: > > Info - Deleting resource user.user_favorite(Optional("89"), nil) using URL: http://cisfinder.com/api/user/user_favorite/89...

Can you include the entire response for a successful and failed deletion? So including status code. When the DELETE request returns a non-successful status code (< 200 and > 299...

Hmm, I see the problem. I don't know whether unformatting to optionals is the best solution though. I think optionals are only there to support null values, in which case...

What is your use case for this? Perhaps there is a way we can solve it without adding any more configuration options.

Why do you want to omit null values? If it's because of overwriting attributes that weren't fetched, I recommend trying the `dirty-checking` branch.

I agree that this is a problem with the current Error handling. I'm still not sure about whether promoting everything to a `SpineError` is the way to go. On one...