You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently do not return the revision of an entry. The reasoning behind this behavior is that the response would contain duplicate 'revision' fields if a user requested more than one entry. Because of that, there's a problem that a user could not notice quickly which version of a file is adapted to his/her service.
To solve this issue, there're two ways as @trustin suggested:
Allow some level of duplicate information.
Separate the API into two which are for getting a single file and multiple files.
I personaly prefer the second one because I don’t want to include duplicate information and I think there’s not so much people who are using it, so it’s not a big deal.
The text was updated successfully, but these errors were encountered:
Motivation:
We currently do not return the revision of an entry. The reasoning
behind this behavior is that the response would contain duplicate
'revision' fields if a user requested more than one entry. Because of
that, there's a problem that a user could not notice quickly which
version of a file is loaded into his/her service.
Modifications:
- Added `revision` property to `EntryDto`
- Miscellaneous:
- Used `HttpHeaderNames.PREFER` which reappeared Armeria 0.83.0
- Used `HttpData.toStringUtf8()` instead of `.content().toStringUtf8()`
Result:
- Closesline#310
Motivation:
We currently do not return the revision of an entry. The reasoning
behind this behavior is that the response would contain duplicate
'revision' fields if a user requested more than one entry. Because of
that, there's a problem that a user could not notice quickly which
version of a file is loaded into his/her service.
Modifications:
- Added `revision` property to `EntryDto`
- Miscellaneous:
- Used `HttpHeaderNames.PREFER` which reappeared in Armeria 0.83.0
- Used `HttpData.toStringUtf8()` instead of `.content().toStringUtf8()`
Result:
- Closes#310
We currently do not return the revision of an entry. The reasoning behind this behavior is that the response would contain duplicate 'revision' fields if a user requested more than one entry. Because of that, there's a problem that a user could not notice quickly which version of a file is adapted to his/her service.
To solve this issue, there're two ways as @trustin suggested:
I personaly prefer the second one because I don’t want to include duplicate information and I think there’s not so much people who are using it, so it’s not a big deal.
The text was updated successfully, but these errors were encountered: