stainlessai / micronaut-jupyter

A Micronaut configuration that integrates your app with an existing Jupyter installation.
https://stainlessai.github.io/micronaut-jupyter
Apache License 2.0
9 stars 5 forks source link

MJ-16 ⁃ Access Gorm Data Services from Jupyter script #15

Closed stainlessbot closed 4 years ago

stainlessbot commented 4 years ago

In the same way that GORM entities can be accessed and used in Jupyter scripts (MJ-2), Gorm Data Services should also be available to scripts. These are made available in Micronaut as Spring beans, so MJ-3 will have to be completed at a minimum for this to work. Additional work may also be required. The work for this issue is almost and may be exactly identical to the work for Micronaut Data repos (MJ-7).

┆Issue Type: Story ┆Priority: Medium ┆Status: Resolved ┆Fix Versions: v0.2.0 ┆Issue Number: MJ-16 ┆Epic: Kernel

stainlessbot commented 4 years ago

➤ Joshua Carter commented:

Confirmed that the issue with dynamic finders (MJ-2) and Micronaut data repos (MJ-7) exists here as well.

stainlessbot commented 4 years ago

➤ Joshua Carter commented:

From what I can tell, lazy initialization is not supported in Micronaut, so any services with queries for domains with collections that need to be fetched need to specify a join query (using @Join for example).