Gerasimos (Makis) Maropoulos
45c6bce15f
fix https://github.com/kataras/iris/issues/1542
...
Former-commit-id: 23f795a6b6b64745311d0630d8e630edc3f65244
2020-06-20 16:06:26 +03:00
Gerasimos (Makis) Maropoulos
3c86fa8010
dependency injection: fix read slices
...
rel: https://github.com/kataras/iris/issues/1542
Former-commit-id: 0028fafa60b80c80cade1e7a18a11109ce0e9948
2020-06-20 07:22:29 +03:00
Gerasimos (Makis) Maropoulos
c866709acc
add 'Context.Register/RemoveDependency' for registering dependencies for next handler in the chain from a common iris handler in serve-time
...
And also, add a Configuration.FireEmptyFormError if end-dev wants to receive an iris.ErrEmptyForm error on missing form data on 'Context.ReadForm/ReadBody'
Former-commit-id: a2713bec77375b2908f1f066a46be4f19e6b7a61
2020-05-19 09:28:27 +03:00
Gerasimos (Makis) Maropoulos
1bb76853a9
.DI() to ConfigureContainer(...builders)
...
Former-commit-id: 169671a8b5b706dc8f136e68c1a060f27a2c421b
2020-04-17 15:56:36 +03:00
Gerasimos (Makis) Maropoulos
1b02f048ef
new 'Party.DI()' method to return the Party's instance of the new 'APIBuilderDI' and move the DI-relative Router to this new APIBuilderDI
...
Former-commit-id: 2fb81406c6e3162991c90e0918a3cac1b77c2b54
2020-04-08 20:04:56 +03:00
Gerasimos (Makis) Maropoulos
5852327f30
move the hero binding logic to the new 'context.ReadBody'
...
Former-commit-id: d336bb1ec6ca66087fe9e8d28b38062508b45227
2020-04-08 17:27:23 +03:00
Gerasimos (Makis) Maropoulos
837787104b
add context.Protobuf, MsgPack, ReadProtobuf, ReadMsgPack methods
...
Former-commit-id: 39d547ecfb1516505a1eb76a12a1f6e9e4111962
2020-04-08 16:48:22 +03:00
Gerasimos (Makis) Maropoulos
b6445c7238
next version preparation: hero: add a Container.Inject method to inject values outside of HTTP lifecycle, e.g. a database may be used by other services outside of Iris, the hero container (and API's Builder.GetContainer()) should provide it.
...
Former-commit-id: 89863055a3a3ab108a3f4b753072a35321a3a193
2020-03-05 19:49:45 +02:00
Gerasimos (Makis) Maropoulos
5ee06f9a92
next version preparation: hero, mvc: fix payload binding
...
Former-commit-id: d95f750dd9e1532c9ac0d30a85b383d60acb3178
2020-03-04 10:29:34 +02:00
Gerasimos (Makis) Maropoulos
bb66c10ad3
🐵 prepare next version: improve the hero and mvc path parameters bindings
...
Former-commit-id: 0626b91c6448b5cebf1d04ee3f115cde68aa3d6d
2020-03-02 19:48:53 +02:00
Gerasimos (Makis) Maropoulos
1c9b592088
👔 next version: some linting
...
Former-commit-id: a102fbb90e2a8a8b09fcb9c9e0c370e4078b74d1
2020-03-01 08:34:53 +02:00
Gerasimos (Makis) Maropoulos
5fc24812bc
❤️ awesome and unique features for end-developers are coming...
...
total refactor of the hero and mvc packages, see README#Next (it's not completed yet)
Former-commit-id: b85ae99cbfe5965ba919c1e15cf4989e787982c0
2020-02-29 14:18:15 +02:00