Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.43 KB

api-runtime-known-limitations.md

File metadata and controls

24 lines (18 loc) · 1.43 KB

API limitations by release

These two Shopster null-handling limitations affect v1.0.0 and do not affect v1.1.0. The release folders preserve each snapshot; choose the API release matching the task data when reporting results.

Case v1.0.0 v1.1.0
Customer-order lookup encounters a guest order with customer: null get_customer_orders calls .get() on the null customer and raises AttributeError, even when the requested customer's orders are valid. The lookup skips orders without a customer before comparing IDs.
Reading a refund line with total_tax: null RefundLineItemResponse requires a non-null decimal, so a stored null fails response validation. Cancellation can also stringify an explicit null as "None". The response field accepts null, and cancellation preserves null instead of converting it to a string.

The affected source files in each release folder are:

  • APIs/shopster/orders.py
  • APIs/shopster/SimulationEngine/endpoint_models.py
  • APIs/shopster/SimulationEngine/db_models.py

This is a list of known differences, not a complete API correctness audit. Do not patch a released snapshot in place for an evaluation and report it as unchanged. If testing a local repair, record the SHA256 of its archive and identify it separately from the published release.

See API runtime packaging for version selection, archive hashes, and local source access.