akirchhoff-modular
4bf10f3da7
[YAMLTraits] Fix std::optional input on empty documents ( #68947 )
...
When the input document is non-empty, `mapOptional` works as expected,
setting `std::optional` to `std::nullopt` when the field is not present.
When the input document is empty, we hit a special case inside of
`Input::preflightKey` that results in `UseDefault = false`, which
results in the `std::optional` erroneously being set to a non-nullopt
value. `preflightKey` is changed to set `UseDefault = true` in this case
to make the behavior consistent between empty and non-empty documents.
2023-10-16 15:14:17 -05:00
..
2023-08-30 11:47:12 +03:00
2023-09-29 10:23:20 -04:00
2023-09-12 22:11:42 +03:00
2022-12-06 12:49:32 -08:00
2023-08-23 19:16:41 -04:00
2023-06-27 09:27:47 +00:00
2023-02-19 23:56:52 -08:00
2023-01-05 14:11:08 +01:00
2023-06-22 23:25:17 +05:30
2023-10-08 00:11:15 -07:00
2023-10-09 00:54:47 -07:00
2023-10-09 00:54:47 -07:00
2023-09-14 11:11:27 -07:00
2022-11-14 12:27:29 +00:00
2022-11-22 13:46:42 -08:00
2023-10-12 15:42:56 -04:00
2023-09-29 10:23:20 -04:00
2023-10-12 21:21:45 -07:00
2023-09-10 12:25:19 +02:00
2023-04-25 16:03:34 -04:00
2023-01-28 15:22:37 -08:00
2023-02-08 18:03:58 -05:00
2023-01-05 14:11:08 +01:00
2023-06-25 15:42:22 +01:00
2022-10-30 20:47:12 +01:00
2023-06-13 10:47:18 +01:00
2023-02-19 22:04:47 -08:00
2022-12-16 08:49:10 +00:00
2023-10-12 21:21:45 -07:00
2022-12-02 21:11:44 -08:00
2023-05-30 14:12:20 -07:00
2023-07-13 21:06:39 +01:00
2022-11-14 19:11:34 -08:00
2023-10-05 22:33:58 -04:00
2023-07-06 12:27:48 +02:00
2023-09-14 19:46:53 +03:00
2023-01-28 09:06:31 -08:00
2022-12-16 08:49:10 +00:00
2023-09-12 16:51:58 -07:00
2022-12-02 21:11:44 -08:00
2023-06-25 15:42:22 +01:00
2023-06-06 15:14:10 -05:00
2022-12-02 21:11:44 -08:00
2022-12-16 08:49:10 +00:00
2023-01-05 14:11:08 +01:00
2023-03-14 12:58:37 +01:00
2023-01-05 14:11:08 +01:00
2023-01-26 07:59:33 +01:00
2022-12-18 00:28:54 -08:00
2022-12-06 22:34:50 -08:00
2023-05-06 14:35:26 +02:00
2023-06-25 15:42:22 +01:00
2023-08-15 10:10:03 -04:00
2023-02-24 13:43:12 -08:00
2022-12-16 22:44:08 +00:00
2022-12-14 09:56:10 -05:00
2023-08-25 16:37:55 -04:00
2023-09-12 16:55:34 -04:00
2023-01-19 11:12:53 +01:00
2023-05-08 18:56:09 +02:00
2023-10-12 00:24:45 +07:00
2023-01-05 14:11:08 +01:00
2023-10-03 18:16:13 +01:00
2023-01-28 12:41:20 -08:00
2022-12-02 21:11:44 -08:00
2023-09-23 13:17:46 -07:00
2023-09-23 13:17:46 -07:00
2023-08-17 10:54:47 -07:00
2023-09-01 18:25:16 -07:00
2023-09-01 09:06:11 -07:00
2023-10-06 16:33:13 -05:00
2023-07-22 16:50:47 -07:00
2023-05-23 14:01:38 +01:00
2023-08-03 11:12:05 -07:00
2023-05-12 17:09:26 -07:00
2023-05-11 21:33:39 -07:00
2023-07-19 18:57:55 +00:00
2023-02-23 18:11:15 +00:00
2022-11-21 19:03:40 -08:00
2023-08-03 10:52:57 -07:00
2022-11-28 15:13:37 +01:00
2023-07-28 15:09:08 +02:00
2023-07-28 15:09:08 +02:00
2022-12-16 08:49:10 +00:00
2023-09-27 13:39:30 -07:00
2023-07-18 13:36:11 -07:00
2023-02-09 21:56:57 -05:00
2023-10-16 15:14:17 -05:00
2023-01-26 12:55:42 -06:00