Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
Adds read method to Serializable for filtering, ignoring or rejecting keys. Fixes issues with Dart 2.1.1 mirror type checking changes Adds like matcher expression Escapes postgres special characters in LIKE expressions for all other string matcher expressions Fixes security vulnerability where a specific authorization header value would be associated with the wrong token in rare cases (credit to Philipp Schiffmann) Adds Validate.constant to properties that use the @primaryKey annotation. Allows Validate annotations to be added to belongs-to relationship properties; the validation is run on the foreign key. Allows any type - e.g. Map<String, dynamic> - to be bound with Bind.body.
See changelog
See changelog.
See changelog.
aqueduct db schema
to print an application's data model.aqueduct document serve
that serves the API documentation for an application.--machine
flag to aqueduct
tool to only emit machine-readable output.defaultDelay
to MockHTTPServer
. Defaults to null for no delay.defaultResponse
to MockHTTPServer
. Defaults to a 503 response instead of a 200.MockHTTPServer
's queueResponse
function.HTTPRequestBody.maxSize
to limit HTTP request body sizes. Defaults to 10MB.ManagedTableAttributes
to configure underlying database table to use multiple columns to test for uniqueness.Request.addResponseModifier
to allow middleware to modify responses.Response.bufferOutput
to control whether the HTTP response bytes are buffered.whereNot
to apply an inverse to other Query.where
expression, e.g. whereNot(whereIn(["a", "b"]))
.ManagedObjectController
didn't work.ResourceRegistry
to ServiceRegistry
.package:aqueduct/test.dart
.Request.acceptableContentTypes
and Request.acceptsContentType
for convenient usage of Accept header.AuthStorage.allowedScopesForAuthenticatable
to provide user attribute-based scoping, e.g. roles.Query.forEntity
and ManagedObjectController.forEntity
to dynamically instantiate these types, i.e. use runtime values to build the query.PersistentStore.newQuery
- allows a PersistentStore
implementation to provide its own implementation of Query
specific to its underlying database.Query.reduce
to perform aggregate functions on database tables, e.g. sum, average, maximum, etc.enum
s may be used as persistent properties in ManagedObject<T>
. The underlying database will store them a strings.